diff --git a/lib/ansible/modules/web_infrastructure/jenkins_job.py b/lib/ansible/modules/web_infrastructure/jenkins_job.py index 0c91c8b876..7d15c59865 100644 --- a/lib/ansible/modules/web_infrastructure/jenkins_job.py +++ b/lib/ansible/modules/web_infrastructure/jenkins_job.py @@ -77,7 +77,7 @@ EXAMPLES = ''' config: "{{ lookup('file', 'templates/test.xml') }}" name: test password: admin - url: "http://localhost:8080" + url: http://localhost:8080 user: admin # Create a jenkins job using the token @@ -85,7 +85,7 @@ EXAMPLES = ''' config: "{{ lookup('template', 'templates/test.xml.j2') }}" name: test token: asdfasfasfasdfasdfadfasfasdfasdfc - url: "http://localhost:8080" + url: http://localhost:8080 user: admin # Delete a jenkins job using basic authentication @@ -93,7 +93,7 @@ EXAMPLES = ''' name: test password: admin state: absent - url: "http://localhost:8080" + url: http://localhost:8080 user: admin # Delete a jenkins job using the token @@ -101,23 +101,23 @@ EXAMPLES = ''' name: test token: asdfasfasfasdfasdfadfasfasdfasdfc state: absent - url: "http://localhost:8080" + url: http://localhost:8080 user: admin # Disable a jenkins job using basic authentication - jenkins_job: name: test password: admin - enabled: false - url: "http://localhost:8080" + enabled: False + url: http://localhost:8080 user: admin # Disable a jenkins job using the token - jenkins_job: name: test token: asdfasfasfasdfasdfadfasfasdfasdfc - enabled: false - url: "http://localhost:8080" + enabled: False + url: http://localhost:8080 user: admin '''