Ansible Pilot
About
Contact
Books
Udemy
Articles
template
May 3, 22
Write a Variable to a File - Ansible module copy vs template
How to save the value of a variable to file using the Ansible copy vs template modules. Included the comparison and a step-by-step example.
#ansible
#copy
#module
#linux
#template
#centos
#fedora
#ubuntu
#variables
Feb 18, 22
Deploy a proxy server squid on RedHat-like systems - Ansible modules yum, template, service and firewalld
How to automate the configuration of squid proxy server on Red Hat like target Linux system installing the packages, set the configuration files, run the service immediately and after boot and open the relevant firewall port. RedHat Enterprise Linux, CentOS, CentOS Stream, Fedora, ClearOS, Oracle Linux, EuroLinux, Fermi Linux, EulerOS, ROSA Linux, Springdale Linux, Asianux
#ansible
#server
#linux
#proxy
#squid
#web
#rhel
#centos
#centos-stream
#fedora
#yum
#dnf
#template
#service
#firewalld
Feb 12, 22
Deploy a web server apache httpd on RedHat-like systems - Ansible modules yum, copy, service firewalld
How to automate the deployment of a web server apache httpd on RedHat-like systems with custom web page taking care of downloading, installing, and enabling the service instantly and on boot and open the relevant firewall ports with Ansible modules yum, copy, service firewalld. RedHat Enterprise Linux, CentOS, CentOS Stream, Fedora, ClearOS, Oracle Linux, EuroLinux, Fermi Linux, EulerOS, ROSA Linux, Springdale Linux, Asianux
#ansible
#server
#linux
#webserver
#apache
#www
#rhel
#centos
#centos-stream
#fedora
#yum
#dnf
#template
#service
#firewalld
Feb 1, 22
Concatenate multiple files in a specific order - Ansible module template and YAML
How to automate the concatenation of multiple files and format using a list in the YAML and Ansible module template with Jinja2 language. Included example with "a.txt", "b.txt" and "includes.yaml" files for Pandoc.
#ansible
#template
#module
#configuration
#filesystem
Nov 24, 21
Loop in file template - Ansible module template - Generate hosts file
How to use for loop in Ansible module template to generate/etc/myhosts file with IP address, hostname, and short name from Ansible inventory. Ansible Playbook, Jinja2 template, and with Magic Variables included.
#ansible
#template
#module
#loop
Nov 23, 21
Apply a file template - Ansible module template - HTML placeholder
How to create and use templates in Ansible Playbooks. An included example is how to deploy an HTML placeholder using the Jinga2 template in your Nginx webserver.
#ansible
#template
#module
#configuration
#ansible-template
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
x
x