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 38ed7640110..47b4ed6b064 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 4e70ca1a168..89e07444114 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