added new host
This commit is contained in:
1 parent
795c217fb6
commit
1b96ff38ec
7 files changed
+125
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# Load distro-specific variables
|
||||
- include_vars: "{{ ansible_distribution }}.yml"
|
||||
tags: always
|
||||
|
||||
- block:
|
||||
- block:
|
||||
- include_tasks: install_postfix.yml
|
||||
- include_tasks: configure_postfix.yml
|
||||
when: postfix == true
|
||||
|
||||
- block:
|
||||
- include_tasks: install_dovecot.yml
|
||||
- include_tasks: configure_dovecot.yml
|
||||
when: dovecot == true
|
||||
|
||||
- block:
|
||||
- include_tasks: install_fetchmail.yml
|
||||
- include_tasks: configure_fetchmail.yml
|
||||
when: fetchmail == true
|
||||
|
||||
rescue:
|
||||
- set_fact: task_failed=true
|
||||
Reference in new issue
Block a user