mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
Remove params option from examples
This commit is contained in:
parent
168fb07cba
commit
120af786af
2 changed files with 1 additions and 24 deletions
|
@ -431,25 +431,6 @@ EXAMPLES = '''
|
||||||
name: epel
|
name: epel
|
||||||
file: external_repos
|
file: external_repos
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
#
|
|
||||||
# Allow to overwrite the yum_repository parameters by defining the parameters
|
|
||||||
# as a variable in the defaults or vars file:
|
|
||||||
#
|
|
||||||
# my_role_somerepo_params:
|
|
||||||
# # Disable GPG checking
|
|
||||||
# gpgcheck: no
|
|
||||||
# # Remove the gpgkey option
|
|
||||||
# gpgkey: null
|
|
||||||
#
|
|
||||||
- name: Add Some repo
|
|
||||||
yum_repository:
|
|
||||||
name: somerepo
|
|
||||||
description: Some YUM repo
|
|
||||||
baseurl: http://server.com/path/to/the/repo
|
|
||||||
gpgkey: http://server.com/keys/somerepo.pub
|
|
||||||
gpgcheck: yes
|
|
||||||
params: "{{ my_role_somerepo_params }}"
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
|
@ -164,16 +164,12 @@ EXAMPLES = '''
|
||||||
#
|
#
|
||||||
# Example of how to authenticate
|
# Example of how to authenticate
|
||||||
#
|
#
|
||||||
# my_jenkins_params:
|
|
||||||
# url_username: admin
|
|
||||||
#
|
|
||||||
- name: Install plugin
|
- name: Install plugin
|
||||||
jenkins_plugin:
|
jenkins_plugin:
|
||||||
name: build-pipeline-plugin
|
name: build-pipeline-plugin
|
||||||
params: "{{ my_jenkins_params }}"
|
url_username: admin
|
||||||
url_password: p4ssw0rd
|
url_password: p4ssw0rd
|
||||||
url: http://localhost:8888
|
url: http://localhost:8888
|
||||||
# Note that url_password **can not** be placed in params as params could end up in a log file
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Example of a Play which handles Jenkins restarts during the state changes
|
# Example of a Play which handles Jenkins restarts during the state changes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue