diff --git a/lib/ansible/modules/web_infrastructure/jenkins_script.py b/lib/ansible/modules/web_infrastructure/jenkins_script.py index fffe95273c..ea34edf4eb 100644 --- a/lib/ansible/modules/web_infrastructure/jenkins_script.py +++ b/lib/ansible/modules/web_infrastructure/jenkins_script.py @@ -72,7 +72,7 @@ EXAMPLES = ''' password: admin - name: Setting master using a variable to hold a more complicate script - vars: + set_fact: setmaster_mode: | import jenkins.model.* instance = Jenkins.getInstance()