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

Finding A String Within An Stdout_lines Array

I am trying to find whether a certain letter exists in an stdout_lines array. I want the role to r… Read more Finding A String Within An Stdout_lines Array

How To Get Remote Stdout From Ansible Python Playbook Api

I know I can print the std out using the debug module of Ansible like below: --- - hosts: all tas… Read more How To Get Remote Stdout From Ansible Python Playbook Api

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

Ansible Cannot Import Docker-py Even Though It Is Installed

I checked this post and followed the fix in both answers and neither worked. I'm opening a new… Read more Ansible Cannot Import Docker-py Even Though It Is Installed

Does Pynetbox Api Have An Option To Verify Ca Cert For Self Signed Cert?

I've been trying to play around with NetBox Ansible modules with a NetBox setup having self sig… Read more Does Pynetbox Api Have An Option To Verify Ca Cert For Self Signed Cert?

Ansible Write Variables Into Yaml File

I have a specific ansible variable structure that I want to get from the vault into a yaml file on … Read more Ansible Write Variables Into Yaml File

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

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

Ansible Special Characters In Passwords

I read my root passwords from an encrypted ansible-vault file. But when I use it on ansible_become… Read more Ansible Special Characters In Passwords