Ansible Pilot
About
Contact
Academy
Articles
SUSE
Sep 22, 21
Create a text file - Ansible module copy
How to create a simple text file with two linex of content in Ansible.
#ansible
#copy
#file
#module
#filesystem
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Sep 17, 21
Create an empty file - Ansible module file
How to create an empty ~/example.txt file or update the time of an already create file.
#ansible
#file
#module
#filesystem
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
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.
#ansible
#delete
#filesystem
#linux
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
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.
#ansible
#create
#linux
#accounting
#authorization
#authentication
#user-management
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
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.
#ansible
#service
#module
#linux
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Aug 19, 21
Edit single-line text -Ansible module lineinfile
How to edit a single-line text in a file with Ansible module lineinfile.
#ansible
#lineinfile
#module
#text
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
««
«
2
3
4
5
6
»
»»
Follow me
Subscribe not to miss any new releases
Search
Results
No results found
Try adjusting your search query