Sep 13, 21
Download a file - Ansible module get_url
How to download a tarball from URL, verify the checksum, assign some permission with Ansible
Sep 10, 21
Reboot remote hosts - Ansible module reboot
How to reboot remote hosts with Ansible specifying the notification message to logged users, the delay seconds, and the verification command.
Sep 9, 21
Delete file or directory - Ansible module file
A real-life example about how the "deleteme" file and the "deleteme" directory with Ansible. Tested in a target Linux machine as well for idempotency of the Ansible Playbook.
Sep 7, 21
Ansible troubleshooting - chgrp failed
When you try to change permission to file your Ansible Playbook might end up with "chgrp failed" error. Let's investigate together why this error happens and how to solve it!
Sep 6, 21
Change file permission - Ansible module file
How to change file or directory permission with Ansible? I’m going to show you a live demo and some simple Ansible code to change chmod and group of a test.txt file.