Use this tag for questions regarding the Ansible inventory defined either as a static file (aka hosts file), or dynamically through external scripts (for example AWS EC2 inventory).
I am trying to compare some variables so here is my case: pg_master_ip is an ip obviously. ansible …
ansible ansible-2.x ansible-inventoryHow can I run a playbook only on first host in the group? I am expecting something like this: --- …
ansible ansible-inventoryI have a host file that looks roughly like this: [kibanamaster] efk host_ip host user passwd [elasticnode] esnode host_…
ansible ansible-2.x ansible-inventoryI am trying to get from an inventory group a list of IP addresses instead of host names. These IP …
ansible ansible-2.x ansible-inventoryI am running some issues when I execute this playbook: - hosts: all connection: local tasks: - template: src=/etc/…
ansible ansible-inventoryI am using ansible 2.4 in centos, trying to run the below script in remote servers and getting the output. Here …
ansible ansible-2.x ansible-inventory ansible-facts ansible-templateI'm creating a playbook with this play: On hosts hypervisors: retrieve list of virtual machines from all hosts use module …
ansible ansible-inventoryI've been working on ansible playbook to download and start tomcat in a host. This is my inventory host file: […
ansible ansible-inventoryWith a personal user account (userx) I run the ansible playbook on all my specified hosts. In ansible.cfg the …
ansible ansible-inventoryUsing the ec2.py inventory script to query against my EC2 instances. I keep getting the following warning signs. How …
ansible ansible-inventory