summaryrefslogtreecommitdiffstats
path: root/common.yml
diff options
context:
space:
mode:
Diffstat (limited to 'common.yml')
-rw-r--r--common.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.yml b/common.yml
index 2136c5d..f670699 100644
--- a/common.yml
+++ b/common.yml
@@ -1,58 +1,58 @@
---
# 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: Let's Encrypt
- hosts: IMAP:MX:MSA:webmail:lists:wiki:git
+ hosts: IMAP:MX:MSA:webmail:lists:wiki:git:nextcloud
gather_facts: False
roles:
- lacme
tags:
- letsencrypt
- lacme
- ACME
- name: Common SQL tasks
- hosts: MDA:webmail:lists:bacula-dir
+ hosts: MDA:webmail:lists:bacula-dir:nextcloud
gather_facts: False
tags: mysql,sql
roles:
- common-SQL
- name: Common LDAP tasks
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:wiki:lists:git:munin-master
+ hosts: webmail:wiki:lists:git:munin-master:nextcloud
gather_facts: False
tags: nginx,www,web
roles:
- common-web
- name: Configure amavis
hosts: out
gather_facts: False
tags: amavis
roles:
- amavis