|
@@ -4,9 +4,15 @@ |
|
|
apt: |
|
|
apt: |
|
|
pkg: postfix |
|
|
pkg: postfix |
|
|
|
|
|
|
|
|
|
|
|
- name: configuration pull directory |
|
|
|
|
|
local_action: file |
|
|
|
|
|
args: |
|
|
|
|
|
path: host_files/{{inventory_hostname}}/etc |
|
|
|
|
|
state: directory |
|
|
|
|
|
|
|
|
- name: pull configuration |
|
|
- name: pull configuration |
|
|
synchronize: |
|
|
synchronize: |
|
|
src: /etc/postfix/ |
|
|
|
|
|
dest: host_files/{{inventory_hostname}}/etc/postfix |
|
|
|
|
|
|
|
|
src: /etc/postfix |
|
|
|
|
|
dest: host_files/{{inventory_hostname}}/etc/ |
|
|
mode: pull |
|
|
mode: pull |
|
|
recursive: true |
|
|
recursive: true |