Skip to main content

All Questions

Tagged with
2 votes
2 answers
1k views

Ansible - How to create dynamic inventory that fetches hosts from microsoft AD

I am using Ubuntu as a control-node, and would like to get the hosts from my domain controller (windows server 2022), the LDAP-Inventory Guide & microsoft.ad.ldap inventory – Inventory plugin for ...
AMM's user avatar
  • 23
1 vote
1 answer
435 views

Ansible to include hosts IPs in template?

I have several IPs in my Ansible hosts file and would like to have it listed in the file that will be copied to each of these hosts. Say, this hosts are 1.1.1.1, 1.1.2.3 etc, and the is file on each ...
Alexander's user avatar
  • 292
0 votes
0 answers
247 views

jenkins hosts unreachable - build failing

In my jenkins - build fails in every few days and it shows the below error/message -- (this job is running on my jenkins slave machine) Build o/p - ok=52 changed=5 unreachable=1 failed=0 ...
GAURAV SHARMA's user avatar
0 votes
1 answer
514 views

Inventory file parameters not being used in Ansible

I’m trying to get Ansible up and running for the first time. For some reason, the parameters I have added to my hosts file are not being used when I run a command like ansible all -m ping It tries to ...
RandomDeduction's user avatar