summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/deps.yml
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2017-02-27 23:31:52 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2017-02-27 23:31:52 +0100
commit68ad649a208c6f8536bfede2ce0ae647d4e3d2b4 (patch)
tree163fde64aa1c9716a39074c35ceeaf32b3f8fa17 /roles/common/tasks/deps.yml
parent66293e20bd06723887b3217a91324e154f2792f9 (diff)
downloadplaybooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.tar.gz
playbooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.tar.xz
playbooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.zip
remove obsolete stuff, fix roles errors and update dns role
Diffstat (limited to 'roles/common/tasks/deps.yml')
-rw-r--r--roles/common/tasks/deps.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/common/tasks/deps.yml b/roles/common/tasks/deps.yml
new file mode 100644
index 0000000..7a47fc0
--- /dev/null
+++ b/roles/common/tasks/deps.yml
@@ -0,0 +1,7 @@
+- name: Installation des dépendances du playbook
+ dnf: name={{ item }} state=present
+ with_items:
+ - libselinux-python
+ - python-dnf
+ - python-firewall
+ when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= 22