Hi, i'm a pretty satisfied Ansible user but
i got an issue maybe caused by a bad practice or a bad definition on my Inventory. I have two inventories( production/ development) in /etc/ansible/invenories with several hosts defined like these: example1 ansible_ssh_host=10.0.8.142 example2 ansible_ssh_host=10.0.8.143 example3 ansible_ssh_host=10.0.8.144 [group1] example1 example2 example3 and some variables for each hosts encrypted by Ansible-vault: (i.e) host_vars/example1.yml , host_vars/example2.yml *and i don't have any vars on example3* *---- hosts: example3 tasks: - name: update packages in CentOS yum: name=* state=latest become: yes check: true diff: true* when i launch ansible-playbook -i inventories/production/prod myplaybook.yml against *example3* Ansible ask me to provide the ansible-vault password to decrypt for a host that don't need any variables! Is it a strange behavior to fix or i have to change my setup? Thanks -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/41165d3b-9b7f-467a-b36e-72ff014f327e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
