1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-18 01:41:35 +00:00

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
parent 2c3efea14b
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

@ -86,7 +86,7 @@ EXAMPLES = '''
delegate_to: myloadbalancernode
- name: Step 2
wait_for:
ansible.builtin.wait_for:
host: '{{ member.host }}'
port: '{{ member.port }}'
state: drained

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

View file

@ -65,7 +65,7 @@ EXAMPLES = '''
password: admin
- name: Setting master using a variable to hold a more complicate script
set_fact:
ansible.builtin.set_fact:
setmaster_mode: |
import jenkins.model.*
instance = Jenkins.getInstance()