mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 15:34:01 -07:00
Adjust booleans in net tools, web infrastructure, and clustering modules. (#5159)
This commit is contained in:
parent
675bdef190
commit
7533f9ac26
20 changed files with 72 additions and 72 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue