diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-05-14 22:00:36 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:53:27 +0200 |
commit | 166804e99e33c8ec5760e88ba1f52d4fc301334c (patch) | |
tree | 706ca108db27e2e6f1c696bdd3f72e6d1f2ce5fa /common.yml | |
parent | 334b7604727810c02ecb8942f3753dee15466691 (diff) |
Configure the list manager (Sympa).
Diffstat (limited to 'common.yml')
-rw-r--r-- | common.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,43 +1,43 @@ --- # XXX: This organization is unfortunate. As of Ansible 1.4, roles are # applied playbook by playbook and not globally for the whole inventory; # therefore if two playbooks are given the role 'common', the tasks # defined in 'common' would be run twice. # The quickfix to ensure that plays are role-disjoint is to create a # separate play for each role. Of course the downside is that we loose # (most of) the advantage of roles... - name: Common tasks hosts: all roles: - common - name: Common SQL tasks - hosts: MDA:webmail:backup + hosts: MDA:webmail:lists:backup gather_facts: False tags: mysql,sql roles: - common-SQL - name: Common LDAP tasks - hosts: MDA:MSA:lists:LDAP-provider:MX + hosts: MDA:MSA:LDAP-provider:MX gather_facts: True tags: slapd,ldap roles: - common-LDAP - name: Configure the LDAP provider hosts: LDAP-provider gather_facts: False tags: slapd,ldap roles: - LDAP-provider - name: Configure the Web servers hosts: webmail:lists gather_facts: False tags: nginx,www,web roles: - common-web - name: Configure amavis |