|
@@ -7,12 +7,12 @@ |
|
|
- name: configuration pull directory |
|
|
- name: configuration pull directory |
|
|
local_action: file |
|
|
local_action: file |
|
|
args: |
|
|
args: |
|
|
path: host_files/{{inventory_hostname}}/etc |
|
|
|
|
|
|
|
|
path: ~/host_files/{{inventory_hostname}}/etc |
|
|
state: directory |
|
|
state: directory |
|
|
|
|
|
|
|
|
- name: pull configuration |
|
|
- name: pull configuration |
|
|
synchronize: |
|
|
synchronize: |
|
|
src: /etc/postfix |
|
|
src: /etc/postfix |
|
|
dest: host_files/{{inventory_hostname}}/etc/ |
|
|
|
|
|
|
|
|
dest: ~/host_files/{{inventory_hostname}}/etc/ |
|
|
mode: pull |
|
|
mode: pull |
|
|
recursive: true |
|
|
recursive: true |