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

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 K8s Module: Failed To Import The Required Python Library (openshift) On Python /usr/bin/python3

The env Ansible 2.9.6 (python3) Tried to run a simple playbook - hosts: master gather_facts: no… Read more Ansible K8s Module: Failed To Import The Required Python Library (openshift) On Python /usr/bin/python3

Dopy.manager.doerror: Unable To Authenticate You

I'm trying to configure a Virtual Machine(with Vagrant and Ansible), that needs a file.py to th… Read more Dopy.manager.doerror: Unable To Authenticate You

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?

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