Adjust booleans in net tools, web infrastructure, and clustering modules. (#5159)

This commit is contained in:
Felix Fontein 2022-08-24 20:00:11 +02:00 committed by GitHub
commit 7533f9ac26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 72 additions and 72 deletions

View file

@ -37,7 +37,7 @@ options:
type: str
description:
- Plugin name.
required: yes
required: true
owner:
type: str
description:
@ -114,7 +114,7 @@ options:
- Defines whether to install plugin dependencies.
- This option takes effect only if the I(version) is not defined.
type: bool
default: yes
default: true
notes:
- Plugin installation should be run under root or the same user which owns
@ -141,7 +141,7 @@ EXAMPLES = '''
- name: Install plugin without its dependencies
community.general.jenkins_plugin:
name: build-pipeline-plugin
with_dependencies: no
with_dependencies: false
- name: Make sure the plugin is always up-to-date
community.general.jenkins_plugin:
@ -196,11 +196,11 @@ EXAMPLES = '''
vars:
my_jenkins_plugins:
token-macro:
enabled: yes
enabled: true
build-pipeline-plugin:
version: "1.4.9"
pinned: no
enabled: yes
pinned: false
enabled: true
tasks:
- name: Install plugins without a specific version
community.general.jenkins_plugin:
@ -221,17 +221,17 @@ EXAMPLES = '''
- name: Initiate the fact
ansible.builtin.set_fact:
jenkins_restart_required: no
jenkins_restart_required: false
- name: Check if restart is required by any of the versioned plugins
ansible.builtin.set_fact:
jenkins_restart_required: yes
jenkins_restart_required: true
when: item.changed
with_items: "{{ my_jenkins_plugin_versioned.results }}"
- name: Check if restart is required by any of the unversioned plugins
ansible.builtin.set_fact:
jenkins_restart_required: yes
jenkins_restart_required: true
when: item.changed
with_items: "{{ my_jenkins_plugin_unversioned.results }}"
@ -257,7 +257,7 @@ EXAMPLES = '''
- name: Reset the fact
ansible.builtin.set_fact:
jenkins_restart_required: no
jenkins_restart_required: false
when: jenkins_restart_required
- name: Plugin pinning