Pārlūkot izejas kodu

host_files directory

master
vecāks
revīzija
fba1d7a720
1 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. +8
    -2
      tasks/main.yml

+ 8
- 2
tasks/main.yml Parādīt failu

@@ -4,9 +4,15 @@
apt:
pkg: postfix

- name: configuration pull directory
local_action: file
args:
path: host_files/{{inventory_hostname}}/etc
state: directory

- name: pull configuration
synchronize:
src: /etc/postfix/
dest: host_files/{{inventory_hostname}}/etc/postfix
src: /etc/postfix
dest: host_files/{{inventory_hostname}}/etc/
mode: pull
recursive: true

Notiek ielāde…
Atcelt
Saglabāt