diff options
author | Alicia Cozine <879121+acozine@users.noreply.github.com> | 2019-01-09 15:21:26 +0100 |
---|---|---|
committer | ansibot <ansibot@users.noreply.github.com> | 2019-01-09 15:21:26 +0100 |
commit | d84e21dfc86e3a5a86f5c581069e11e8ed03254c (patch) | |
tree | 37dd0aa1018d5a1298d67c13750e8845e34420c9 | |
parent | Remove elements= from arg_spec when type is not 'list'. (#50484) (diff) | |
download | ansible-d84e21dfc86e3a5a86f5c581069e11e8ed03254c.tar.xz ansible-d84e21dfc86e3a5a86f5c581069e11e8ed03254c.zip |
fix docs for tower modules (#50710)
-rw-r--r-- | lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_list.py | 2 | ||||
-rw-r--r-- | lib/ansible/modules/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 |