summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/deps.yml
blob: fbf59adf1cbaed4cdbbb08b502b881f46081b166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- name: Installation des dépendances du playbook
  dnf: name={{ item }} state=present
  with_items:
    - libselinux-python
    - python-dnf
    - python-firewall
  when: ansible_pkg_mgr == "dnf"

- name: Installation des dépendances du playbook
  yum: name={{ item }} state=present
  with_items:
    - libselinux-python
    - python-dnf
    - python-firewall
  when: ansible_pkg_mgr == "yum"


- name: Suppression des conflits
  dnf: name=vim-minimal state=absent
  when: ansible_pkg_mgr == "dnf"

- name: Suppression des conflits
  yum: name=vim-minimal state=absent
  when: ansible_pkg_mgr == "yum"