Open
Description
Hello Sir @href
Like say, I have below task defined, you can see there has "async" added.
this is because the ".run.sh" will takes very long time, usually about 3 minutes, it is for start our app server. after added async option, it works good from cli.
How can I do the same with Suitable API? could you advise me?
- name: APP START
shell:
5260
./run.sh
async: 1000
poll: 0
register: start_process
args:
chdir: /path/to/some/where/
notify:
- check_status
Thanks a lot!
Metadata
Metadata
Assignees
Labels
No labels