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 2.x Install Fails Due To Paramiko 2.0 Dependency Changes

Installing the latest Ansible via pip fails due to paramiko 2.0 changing their dependency from pycr… Read more Ansible 2.x Install Fails Due To Paramiko 2.0 Dependency Changes

Ansible + 10.11.6

I'm having a weird issue with Ansible on a (very) clean install of 10.11.6. I've installed … Read more Ansible + 10.11.6

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 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

Ansible: Access Host/group Vars From Within Custom Module

Is there a way how one can access host/group vars from within a custom written module? I would like… Read more Ansible: Access Host/group Vars From Within Custom Module