diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py index 038ca4f6a3..4f5f7d6cb9 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py @@ -62,6 +62,7 @@ EXAMPLES = ''' tower_job_launch: job_template: "My Job Template" register: job + - name: Wait for job max 120s tower_job_wait: job_id: job.id diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py index fc21a202cc..c794454f17 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py @@ -46,6 +46,7 @@ EXAMPLES = ''' tower_job_launch: job_template: "My Job Template" register: job + - name: Wait for job max 120s tower_job_wait: job_id: job.id