From a6ddee3b7d7ca882772677013c7e02bb7a27a526 Mon Sep 17 00:00:00 2001 From: boom2 Date: Tue, 19 Dec 2023 22:23:26 -0500 Subject: - removed backup files - add .gitignore - journal entries on slack packages - add two new ansible playbooks on create/update users --- .../system/09-playbook-copy-system-files.yml~ | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 ansible-practice/system/09-playbook-copy-system-files.yml~ (limited to 'ansible-practice/system/09-playbook-copy-system-files.yml~') diff --git a/ansible-practice/system/09-playbook-copy-system-files.yml~ b/ansible-practice/system/09-playbook-copy-system-files.yml~ deleted file mode 100644 index 17b0f00..0000000 --- a/ansible-practice/system/09-playbook-copy-system-files.yml~ +++ /dev/null @@ -1,32 +0,0 @@ -# reboot a host -# https://www.freekb.net/Article?id=3078 -# https://www.freekb.net/Article?id=2395 -# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/reboot_module.html -# -# - will need to find another option for reboot cuz this was a wonky behavior from ansible -# - it asked me to enter my passphrase 5 times before actually took properly -# -# had to run the command like so: -# -# ansible-playbook 11-playbook-reboot.yml --ask-become-pass -# -# -or- -# -# ansible-playbook 11-playbook-reboot.yml -K -# -# -or- -# -# ansible-playbook 11-playbook-reboot.yml --become -K -# - ---- -- name: "08 - custom ansible - backup system files" - hosts: all - tasks: - - name: reboot a host - ansible.builtin.reboot: - msg: "reboot initiated by ansible" - connect_timeout: 5 - post_reboot_delay: 30 - become: yes -... \ No newline at end of file -- cgit v1.2.3-54-g00ecf