Ansible Pilot
About
Contact
Books
Udemy
Articles
text
Apr 30, 23
Edit single-line text - Ansible Playbook for Changing IP Address of Remote Hosts
This playbook uses the ansible.builtin.lineinfile and ansible.builtin.service modules to automate the process of updating the IP address and netmask values in the network configuration file and restarting the networking service on remote hosts.
#ansible
#lineinfile
#module
#text
#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
Aug 3, 21
Print text or variable during execution - Ansible module debug
Some real-life examples from print “Hello world!”, print a text, print a variable, print a combination of text and variable and set the verbosity level.
#ansible
#debug
#module
#text
#variable
#variables
Aug 1, 21
Edit multi-line text - Ansible module blockinfile
Deep dive into the Ansible module blockinfile of the collection ansible. builtin to edit multi-line text with Ansible. Live demo and Ansible playbook included.
#ansible
#blockinfile
#module
#text
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Red Hat Security Bulletin
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress
Follow me
Subscribe not to miss any new releases
Search
Results
No results found
Try adjusting your search query