On 11.10.2017 11:16, 'Colm Mcnabola' via Ansible Project wrote:
Is this possible to do the script locally and then still be able to
connect
to hosts in a later stage of the same playbook?
for example
task:
- name: local run of script against inventory
Yes, the play I posted has "- host
Is this possible to do the script locally and then still be able to connect
to hosts in a later stage of the same playbook?
for example
task:
- name: local run of script against inventory
On Tue, Oct 10, 2017 at 5:34 PM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 10
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"/inventory
and looks similiar to this
[NodeGroup1]
node1@node
[NodeGroup2]
no
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 var