Commit fb10ca73 by Sven Schliesing

Update uri

parent d6943e46
...@@ -165,7 +165,7 @@ EXAMPLES = ''' ...@@ -165,7 +165,7 @@ EXAMPLES = '''
- action: uri url=http://{{jenkins.host}}/job/{{jenkins.job}}/build?token={{jenkins.token}} - action: uri url=http://{{jenkins.host}}/job/{{jenkins.job}}/build?token={{jenkins.token}}
method=GET user={{jenkins.user}} password={{jenkins.password}} force_basic_auth=yes status_code=201 method=GET user={{jenkins.user}} password={{jenkins.password}} force_basic_auth=yes status_code=201
# Call Jenkins from host where you run ansible. Handy if the Henkins host isn't reachable from the target machine # Call Jenkins from host where you run ansible. Handy if the Jenkins host isn't reachable from the target machine:
- local_action: uri url=http://{{jenkins.host}}/job/{{jenkins.job}}/build?token={{jenkins.token}} - local_action: uri url=http://{{jenkins.host}}/job/{{jenkins.job}}/build?token={{jenkins.token}}
method=GET user={{jenkins.user}} password={{jenkins.password}} force_basic_auth=yes status_code=201 method=GET user={{jenkins.user}} password={{jenkins.password}} force_basic_auth=yes status_code=201
''' '''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment