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: ERROR! 'retries' is not a valid attribute for a TaskInclude

2020-05-21 Thread Dick Visser
This sounds all very much like pushing a round peg into a square hole. I would focus on fine tuning some systemd unit files and their dependencies, instead of the carpet stopping/starting approach. On Thu, 21 May 2020 at 14:46, Shifa Shaikh wrote: > @Stefan Our service involves a set of

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

2020-05-21 Thread Shifa Shaikh
@Stefan Our service involves a set of processes thus, the start script invokes those several processes and hence the need to count the number of processes using `wc -l` to determine if the service (not the process) is running or not. On Thursday, May 21, 2020 at 8:18:56 AM UTC+5:30, Shifa