summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/deps.yml
blob: cefac63752362ddf2043ce0aa140f1c2980e9b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- 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"