summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2017-08-13 04:37:38 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2017-08-13 04:37:38 +0200
commit646c585290c17c019471e62b4e05c0f1b74b219d (patch)
tree1feea5e15302699969933258e5f04780b95730fa
parent3e129a415af418e210f95cba1d71dacd51e9388f (diff)
downloadplaybooks-ansible-646c585290c17c019471e62b4e05c0f1b74b219d.tar.gz
playbooks-ansible-646c585290c17c019471e62b4e05c0f1b74b219d.tar.xz
playbooks-ansible-646c585290c17c019471e62b4e05c0f1b74b219d.zip
add missing deps for SASL authentication
-rw-r--r--roles/mtaserver/tasks/pkgs.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/roles/mtaserver/tasks/pkgs.yml b/roles/mtaserver/tasks/pkgs.yml
index 36bf54c..5a08492 100644
--- a/roles/mtaserver/tasks/pkgs.yml
+++ b/roles/mtaserver/tasks/pkgs.yml
@@ -1,8 +1,15 @@
- name: Installation des paquets
- yum: name=postfix state=present
+ yum: name={{ item }} state=present
+ with_items:
+ - postfix
+ - cyrus-sasl
+ - cyrus-sasl-plain
when: ansible_pkg_mgr == "yum"
- name: Installation des paquets
- dnf: name=postfix state=present
+ dnf: name={{ item }} state=present
+ - postfix
+ - cyrus-sasl
+ - cyrus-sasl-plain
when: ansible_pkg_mgr == "dnf"