modules: fix examples to use FQCN for builtin plugins (#661)

This commit is contained in:
Andrew Klychkov 2020-07-16 14:42:12 +03:00 committed by GitHub
commit 4c4a6ab27c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 36 additions and 36 deletions

View file

@ -188,17 +188,17 @@ EXAMPLES = '''
with_dict: "{{ my_jenkins_plugins }}"
- name: Initiate the fact
set_fact:
ansible.builtin.set_fact:
jenkins_restart_required: no
- name: Check if restart is required by any of the versioned plugins
set_fact:
ansible.builtin.set_fact:
jenkins_restart_required: yes
when: item.changed
with_items: "{{ my_jenkins_plugin_versioned.results }}"
- name: Check if restart is required by any of the unversioned plugins
set_fact:
ansible.builtin.set_fact:
jenkins_restart_required: yes
when: item.changed
with_items: "{{ my_jenkins_plugin_unversioned.results }}"
@ -224,7 +224,7 @@ EXAMPLES = '''
when: jenkins_restart_required
- name: Reset the fact
set_fact:
ansible.builtin.set_fact:
jenkins_restart_required: no
when: jenkins_restart_required