summaryrefslogtreecommitdiffstats
path: root/roles/mtaserver/tasks/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mtaserver/tasks/config.yml')
-rw-r--r--roles/mtaserver/tasks/config.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/mtaserver/tasks/config.yml b/roles/mtaserver/tasks/config.yml
index 84572bc..e51131c 100644
--- a/roles/mtaserver/tasks/config.yml
+++ b/roles/mtaserver/tasks/config.yml
@@ -14,7 +14,7 @@
owner: root
group: root
mode: 0644
- when: is_mtamaster is defined
+ when: mtadomain is defined
notify: restart postfix
- name: Installation des tables dynamiques
@@ -37,7 +37,7 @@
owner: root
group: root
mode: 0644
- when: is_mtamaster is defined
+ when: mtadomain is defined
notify: virtualmap
- name: Installation de la table credentials
@@ -59,7 +59,7 @@
lineinfile:
path: /etc/aliases
line: 'matthieu: casper'
- when: is_mtamaster is defined
+ when: mtadomain is defined
notify: aliasmap
- name: Configuration alias casper
@@ -67,7 +67,7 @@
path: /etc/aliases
line: 'casper: casper@casperlefantom.net'
notify: aliasmap
- when: is_mtamaster is not defined
+ when: mtadomain is not defined
- name: Restauration des contextes SELinux des fichiers de conf
command: /sbin/restorecon -R /etc/postfix/ /etc/aliases