Re: [ansible-project] Re: ERROR! 'retries' is not a valid attribute for a TaskInclude

2020-05-21 Thread Suneel Gali
" ERROR! 'retries' is not a valid attribute for a TaskInclude" Can we use "until" against include_tasks? Its like we are inserting the same tasks multiple times in the playbook ... Can you use until condition with the actual task itself and check? On Thu, May 21, 2020 at 6:22 PM Dick

Re: [ansible-project] Re: problem passing var between tasks.

2020-05-21 Thread Suneel Gali
can you try to pass the variable to include_tasks? *Reference*: https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.7.html#include-tasks-import-tasks-inline-variables -Suneel On Thu, May 21, 2020 at 9:26 PM Jeremy Hobbs wrote: > I simplified the playbook for the post. But,

[ansible-project] Ping Module : Why ansible wants to SSH to the server for which I am trying a ping?

2015-06-22 Thread Suneel Gali
Hi Team, I just started working on ansible and using online documentation to try. I just ran my first command : ansible all -m ping Why ansible wants to SSH to the server for which I am trying ping? It does not make sense (until I am missing some thing) to connect to the server when I just