the email playbook is still a mess...
+++ /dev/null
-# basic system preparation
-- hosts: all
- roles:
- - base
+++ /dev/null
-- hosts: bind
- roles:
- - bind
+++ /dev/null
-- hosts: prosody
- roles:
- - prosody
- virtual_alias_map
- transport_map
- name: give postfix user access to opendkim
- virtual_alias_map
- transport_map
- name: give postfix user access to opendkim
+ # we assume the user alredy exists (it is created above by installing postfix)
when: postfix.opendkim is defined
user:
name: postfix
when: postfix.opendkim is defined
user:
name: postfix
-- import_playbook: base.yml
+- hosts: all
+ roles:
+ - base
+ tags: base
+
- import_playbook: upgrade.yml
- import_playbook: upgrade.yml
-- import_playbook: dns.yml
+
+- hosts: letsencrypt
+ roles:
+ - letsencrypt
+ tags: letsencrypt
+
- import_playbook: email.yml
- import_playbook: email.yml
-- import_playbook: jabber.yml
-- import_playbook: web.yml
+
+- hosts: bind
+ roles:
+ - bind
+ tags: bind
+
+- hosts: prosody
+ roles:
+ - prosody
+ tags: prosody
+
+- hosts: apache
+ roles:
+ - apache
+ tags: apache
+++ /dev/null
-- hosts: letsencrypt
- roles:
- - letsencrypt
-- hosts: apache
- roles:
- - apache