---
- hosts: all
vars:
timeout_retries: 2 # number or poll tries
timeout_delay: 10 # delay between polls
email_list: "y...@email.com"
tasks:
- name: laucnhing long task
shell: "/bin/sleep 30; echo trololo"
async: 6
poll: 0
register: long_task
-
you can set a subsequent task to poll for it and have that use
until/retry up to that limit, then register a result, next task can
conditionally mail depending on that result
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To
Is it possible?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to