Browse Source

host_files directory

master
parent
commit
fba1d7a720
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      tasks/main.yml

+ 8
- 2
tasks/main.yml View File

@@ -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

Loading…
Cancel
Save