瀏覽代碼

host_files directory

master
父節點
當前提交
fba1d7a720
共有 1 個檔案被更改,包括 8 行新增2 行删除
  1. +8
    -2
      tasks/main.yml

+ 8
- 2
tasks/main.yml 查看文件

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

Loading…
取消
儲存