Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ansible

Ansible Loop And Update Dict

I'm trying to use Ansible to loop through a nested dict and add a new key:value. I'm able … Read more Ansible Loop And Update Dict

How To Use Ansible Module Wait_for Together With Loop?

In Ansible 2.7.11 and wanted to use the module waif_for together with loops for connection test to … Read more How To Use Ansible Module Wait_for Together With Loop?

How Can I Get A List Of Hosts From An Ansible Inventory File?

Is there a way to use the Ansible Python API to get a list of hosts from a given inventory file / g… Read more How Can I Get A List Of Hosts From An Ansible Inventory File?

Ansible - How To Use Selectattr With Yaml Of Different Keys

im pulling my hairs trying to do a simple thing (i thought it should be easy) with parsing a yaml a… Read more Ansible - How To Use Selectattr With Yaml Of Different Keys

How To Set Vars Into Ansible Inventory?

In playbook I'm using variable {{excluded_service}}. I want to run ansible playbook from python… Read more How To Set Vars Into Ansible Inventory?

Is It Possible To Create A Fully Self-contained Python Package?

The question Ansible is a python moduel, installable via pip. It relies on several dependencies, al… Read more Is It Possible To Create A Fully Self-contained Python Package?