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'm trying to write a simple Ansible Playbook, please look at snippets below. Using Ansible 2.4.0.0, Ubuntu 17.04, Python 2.7.13. This is my …
ansible ansible-inventoryBelow is the my ansible tasks which will fetch domain name and which will register the output to item value …
ansible ansible-2.x ansible-inventory ansible-factsAnsible version: 2.1.0 My ansible hosts file is: [PM] xyz.example.com ansible_connection=ssh [ND] pqr.example.com ansible_connection=…
ansible ansible-2.x ansible-inventoryI need to save two 2 IPs to a variable in a vars_file when launching ec2_instances, which are used …
ansible ansible-2.x ansible-inventory ansible-factsI am trying to get this to only apply to my dev and hydra servers. I have 2 host files with …
ansible ansible-inventoryI am trying to use the following json file as input to ansible host inventory but I get error when …
ansible-inventoryI have defined the nginx_upstreams variable in a different role that in turn uses the geerlingguy.nginx role and …
ansible ansible-2.x ansible-inventory ansible-templateIntroduction For over a month I've been running the following command: ansible-playbook -vvvvi host_test rhel-tests.yml Which connected via …
ssh ansible ansible-2.x ansible-inventoryI have a situation where we have 3 tiers of boxes, in each tier we apply different variables settings (like where …
ansible ansible-inventoryThere is a definition of [all:vars] in my ansible inventory file as follows: [all:vars] ansible_shell_type=bash …
ansible ansible-inventory