Re: [ansible-project] Exit playbook and return an error

2017-10-11 Thread 'Colm Mcnabola' via Ansible Project
wrote: > On 10. okt. 2017 15:35, 'Colm Mcnabola' via Ansible Project wrote: > >> Hi, >> >> I want to insert an failure on my playbook where if the hostgroup isnt in >> the inventory, it fails. >> >> Inventory path is >> inventory/"environment_name

[ansible-project] Exit playbook and return an error

2017-10-10 Thread 'Colm Mcnabola' via Ansible Project
Hi, I want to insert an failure on my playbook where if the hostgroup isnt in the inventory, it fails. Inventory path is inventory/"environment_name"/inventory and looks similiar to this [NodeGroup1] node1@node [NodeGroup2] node2@node. node3@node. When running a playbook using --extra

[ansible-project] Ansible Bug: skipping no hosts matched

2017-10-02 Thread 'Colm Mcnabola' via Ansible Project
Hi All I am having an issue with ansbible. I have created an inventory folder and declared a hostgroup for different nodes for example, in inventory file [NodeGroup1] no...@node.node [NodeGroup2] no...@node.node no...@node.node This inventory is stored under /environment/testEnv When