浏览代码

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

正在加载...
取消
保存