浏览代码

configuration files to home directory

master
父节点
当前提交
b986da379c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      tasks/main.yml

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

@@ -7,12 +7,12 @@
- name: configuration pull directory
local_action: file
args:
path: host_files/{{inventory_hostname}}/etc
path: ~/host_files/{{inventory_hostname}}/etc
state: directory

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

正在加载...
取消
保存