From d84e21dfc86e3a5a86f5c581069e11e8ed03254c Mon Sep 17 00:00:00 2001 From: Alicia Cozine <879121+acozine@users.noreply.github.com> Date: Wed, 9 Jan 2019 08:21:26 -0600 Subject: [PATCH] fix docs for tower modules (#50710) --- .../modules/web_infrastructure/ansible_tower/tower_job_list.py | 2 +- .../web_infrastructure/ansible_tower/tower_workflow_template.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_list.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_list.py index 38ed764011..47b4ed6b06 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_list.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_list.py @@ -47,8 +47,8 @@ EXAMPLES = ''' tower_job_list: status: running query: {"playbook": "testing.yml"} - register: testing_jobs tower_config_file: "~/tower_cli.cfg" + register: testing_jobs ''' RETURN = ''' diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_template.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_template.py index 4e70ca1a16..89e0744411 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_template.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_workflow_template.py @@ -68,7 +68,7 @@ EXAMPLES = ''' name: Workflow Template description: My very first Worflow Template organization: My optional Organization - schema: "{{ lookup(file, my_workflow.json }}" + schema: "{{ lookup('file', 'my_workflow.json') }}" - tower_worflow_template: name: Workflow Template