From ba8bd25da25f3a03f99c556fe70bbf586fa5fa62 Mon Sep 17 00:00:00 2001 From: Hideki Saito Date: Tue, 16 Apr 2019 05:18:11 +0900 Subject: [PATCH] Fixed wrong variable specification format in examples (#55252) Signed-off-by: Hideki Saito --- .../web_infrastructure/ansible_tower/tower_job_launch.py | 4 ++-- .../web_infrastructure/ansible_tower/tower_job_wait.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 87e9b2be22..dbae9e9399 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 @@ -66,7 +66,7 @@ EXAMPLES = ''' - name: Wait for job max 120s tower_job_wait: - job_id: job.id + job_id: "{{ job.id }}" timeout: 120 # Launch job template with inventory and credential for prompt on launch @@ -78,7 +78,7 @@ EXAMPLES = ''' register: job - name: Wait for job max 120s tower_job_wait: - job_id: job.id + job_id: "{{ job.id }}" timeout: 120 ''' 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 42bbbb68ee..d512a07565 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 @@ -49,7 +49,7 @@ EXAMPLES = ''' - name: Wait for job max 120s tower_job_wait: - job_id: job.id + job_id: "{{ job.id }}" timeout: 120 '''