packages.yml 390 Bytes
Newer Older
1
2
3
4
5
6
7
8
---

- name: Install ancillary packages for Ubuntu 18.04
  apt:
    name:
    - python-apt
    - python-pip
    state: present
9
  when: ansible_facts['distribution_major_version'] == "18"
10
11
12
13
14

- name: Install PostgreSQL 10 packages for Ubuntu 18.04
  apt:
    name: postgresql
    state: present
15
  when: (ansible_facts['distribution_major_version'] == "18" and use_distribution_postgresql)
16
17

...