Ansible Pilot
About
Contact
Books
Udemy
Articles
module
Dec 20, 21
Token Based Authentication in REST API - Interact with webservice - Ansible module uri - Authentication request using the REST API token
How to retrieve a JSON token via a POST authentication request using a JSON body formed by email and password to a REST API web service HTTPS endpoint from a remote Linux host in a few lines of Ansible code.
#ansible
#uri
#module
#get
#web-service
#micro-service
#app
#web
#api
#rest
#festful
#token
Dec 20, 21
Enable or Disable Permissive Domain in SELinux policy on Linux - Ansible module selinux_permissive
How to automate the enabling or disabling of SELinux Permissive policy per single process or domain keeping the whole system under enforcing policy and make it persistent after a reboot on Linux with Ansible.
#ansible
#selinux
#module
#linux
#security
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Dec 17, 21
Enable or Disable SELinux Boolean on Linux - Ansible module seboolean
How to automate the enabling of the "httpd_use_nfs" SELinux boolean and make it persistent after a reboot on Linux with Ansible.
#ansible
#selinux
#module
#linux
#security
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Dec 16, 21
Set the SELinux Policy States and Modes on Linux - Ansible module selinux
How to automate the setting and verification of the "enforcing" SELinux mode and state with "targeted" policy and relabel the filesystem if necessary on Linux target with Ansible.
#ansible
#selinux
#module
#linux
#security
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Dec 15, 21
Change the User Primary Group on Linux - Ansible module user
How to automate the changing of the primary group of a user "example" from "example" group to "users" group on a target the Linux with few lines of Ansible playbook code.
#ansible
#user
#module
#linux
#user-management
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#getent-passwd
Dec 14, 21
Create a hard link in Linux - Ansible module file
How to create a "hard link" that references the "example.txt" text file in the Linux filesystem with Ansible. Simple Ansible code and verification included.
#ansible
#file
#module
#hard
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#link
Dec 14, 21
Add a User to a Second Group on Linux - Ansible module user
How to automate the adding of a user "example" to a system or user-defined groups list on a target the Linux with few lines of Ansible playbook code.
#ansible
#user
#module
#linux
#user-management
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#useradd
Dec 9, 21
Submit a GET request to a REST API endpoint - Interact with web services - Ansible module uri
How to retrieve a JSON list of users via a GET request to a REST API web service HTTPS endpoint from a remote Linux host in a few lines of Ansible code.
#ansible
#uri
#module
#get
#web-service
#micro-service
#app
#web
#api
#rest
#restful
Dec 1, 21
Stop and disable services on boot on remote hosts - Ansible module service_facts, service
How to list the available Linux services and automate the stop and disable service on boot process with Ansible playbook. Included code and demo with chronyd.service NTP server on a RedHat Enterprise Linux 8.
#ansible
#service
#module
#linux
#rhel
#centos
#fedora
#loop
#daemon
Nov 30, 21
Start and enable services on boot on Linux remote hosts - Ansible module service_facts, service
How to list the available Linux services and automate the start and enable service on boot process with Ansible playbook. Included code and demo with chronyd.service NTP server on a RedHat Enterprise Linux 8.
#ansible
#service
#module
#linux
#rhel
#centos
#fedora
#loop
#daemon
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
««
«
4
5
6
7
8
»
»»
Red Hat Security Bulletin
Follow me
Subscribe not to miss any new releases
Search
Results
No results found
Try adjusting your search query