diff options
Diffstat (limited to 'ansible-practice/system')
| -rw-r--r-- | ansible-practice/system/09-playbook-copy-system-files-on-controller.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ansible-practice/system/09-playbook-copy-system-files-on-controller.yml b/ansible-practice/system/09-playbook-copy-system-files-on-controller.yml index e43553d..1d08134 100644 --- a/ansible-practice/system/09-playbook-copy-system-files-on-controller.yml +++ b/ansible-practice/system/09-playbook-copy-system-files-on-controller.yml @@ -37,11 +37,11 @@ ansible.builtin.shell: | sudo cp -a /etc/hosts.allow {{ backup_etc_dir }}/ cp -a /etc/hosts.deny {{ backup_etc_dir }}/ - cp -a /etc/inetd.conf {{ backup_etc_dir }}/ - cp -a /etc/sudoers {{ backup_etc_dir }}/ - cp -a /etc/hosts {{ backup_etc_dir }}/ - cp -a /etc/fstab {{ backup_etc_dir }}/ - cp -a /etc/inittab {{ backup_etc_dir }}/ + cp -a /etc/inetd.conf {{ backup_etc_dir }}/ + cp -a /etc/sudoers {{ backup_etc_dir }}/ + cp -a /etc/hosts {{ backup_etc_dir }}/ + cp -a /etc/fstab {{ backup_etc_dir }}/ + cp -a /etc/inittab {{ backup_etc_dir }}/ exit 0 delegate_to: localhost run_once: true |
