diff options
author | Andrew Gaffney <andrew@agaffney.org> | 2016-11-10 10:12:03 -0700 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2016-11-10 15:44:50 -0500 |
commit | 459e585d0cecc1a23b4fe40a4286d91116f89c98 (patch) | |
tree | 46db1829f288852ba32b5acc83da279baae54280 /web_infrastructure | |
parent | 00d350de4e03b787be04dbae0b844835d10f2035 (diff) | |
download | ansible-modules-extras-459e585d0cecc1a23b4fe40a4286d91116f89c98.tar.gz |
Fix bare variable references in docs
Diffstat (limited to 'web_infrastructure')
-rw-r--r-- | web_infrastructure/jenkins_plugin.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web_infrastructure/jenkins_plugin.py b/web_infrastructure/jenkins_plugin.py index af5adb46..b08f7541 100644 --- a/web_infrastructure/jenkins_plugin.py +++ b/web_infrastructure/jenkins_plugin.py @@ -218,7 +218,7 @@ EXAMPLES = ''' register: my_jenkins_plugin_unversioned when: > 'version' not in item.value - with_dict: my_jenkins_plugins + with_dict: "{{ my_jenkins_plugins }}" - name: Install plugins with a specific version jenkins_plugin: @@ -227,7 +227,7 @@ EXAMPLES = ''' register: my_jenkins_plugin_versioned when: > 'version' in item.value - with_dict: my_jenkins_plugins + with_dict: "{{ my_jenkins_plugins }}" - name: Initiate the fact set_fact: @@ -237,13 +237,13 @@ EXAMPLES = ''' set_fact: jenkins_restart_required: yes when: item.changed - with_items: my_jenkins_plugin_versioned.results + with_items: "{{ my_jenkins_plugin_versioned.results }}" - name: Check if restart is required by any of the unversioned plugins set_fact: jenkins_restart_required: yes when: item.changed - with_items: my_jenkins_plugin_unversioned.results + with_items: "{{ my_jenkins_plugin_unversioned.results }}" - name: Restart Jenkins if required service: @@ -276,7 +276,7 @@ EXAMPLES = ''' state: "{{ 'pinned' if item.value['pinned'] else 'unpinned'}}" when: > 'pinned' in item.value - with_dict: my_jenkins_plugins + with_dict: "{{ my_jenkins_plugins }}" - name: Plugin enabling jenkins_plugin: @@ -284,7 +284,7 @@ EXAMPLES = ''' state: "{{ 'enabled' if item.value['enabled'] else 'disabled'}}" when: > 'enabled' in item.value - with_dict: my_jenkins_plugins + with_dict: "{{ my_jenkins_plugins }}" ''' RETURN = ''' |