[ansible-project] Q: use of delegated_facts?

2017-09-15 Thread Sieds Pallas
Hi, I am getting confused on the working and purpose of delegated_facts. If I read the manual correctly: http://docs.ansible.com/ansible/latest/playbooks_delegation.html#delegated-facts when you delegate a task to another host than the current managed host from the inventory hosts: list, the

[ansible-project] Re: Q: Obscure standard variables?

2017-09-08 Thread Sieds Pallas
A colleague of mine explained that these variables are created when the inventory is read. You can get to see those with: ansible -m debug -a "var=vars" This "vars" appears to be undocumented. HTH Op woensdag 6 september 2017 09:34:48 UTC+2 schreef Sieds Pallas: >

[ansible-project] Re: Q: Obscure standard variables?

2017-09-06 Thread Sieds Pallas
Hi Tom, I suspected that much. My questions are: - Where are these coming from? I do not find documented that if you make a section [webservers] in your inventory, that automagically an array "groups[]" is created that has "webservers" as a member. Nor that there is such a thing as

[ansible-project] Re: Newbie question on syntax

2017-09-05 Thread Sieds Pallas
Op dinsdag 5 september 2017 20:51:55 UTC+2 schreef Kenny Barnes: > > Keep getting an error when running the following playbook. Copied from > gethub and watch youtube running the same w/o error. > > Error: > > The offending line appears to be: > > tasks: > - name: Pull WWPNs from UCS >

[ansible-project] Q: Obscure standard variables?

2017-09-05 Thread Sieds Pallas
Hi, I am working trhough some tutorials, and I have a question; I hope this is the proper forum to post it. In the solution provided with the tutorial I see some variables used that I do not understand: inventory_hostname and: groups["webservers"] I do not find these in the ansible