瀏覽代碼

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

Loading…
取消
儲存