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.
Sep 1, 21
Remove user account - Ansible module user
How to remove an example user removing home directory and spool files.
Aug 26, 21
Create user account - Ansible module user
How to create an example user with home directory, groups, password, and SSH key file with Ansible Playbook.
Aug 24, 21
Restart services on remote hosts - Ansible module service
How to restart services on a managed host using Ansible? The service module supports init systems include BSD init, OpenRC, SysV, Solaris SMF, systemd, upstart. I'm going to show you how to restart services on a Linux-managed host with some simple code.