May 7, 23
Comparing versions - ansible.builtin.version plugin
Using Ansible to Compare Versions and Ensure Consistency Across Your Infrastructure
Oct 9, 22
Read a JSON file into a variable - Ansible lookup plugin file
How to automate the reading of example.json file on Ansible host, assign to a variable and use in your Ansible Playbook code.
Mar 9, 22
Execute command on the Ansible host - Ansible localhost
How to execute Ansible command(s) or task(s) on localhost using the connection plugin local and the right ansible internals variables.
Feb 18, 22
Read an environment variable - Ansible lookup plugin env
How to automate the reading of HOME environmental variable and use it in your Ansible Playbook code with lookup plugin env.