mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 11:22:47 +00:00
Remove params option from examples
This commit is contained in:
@@ -431,25 +431,6 @@ EXAMPLES = '''
|
||||
name: epel
|
||||
file: external_repos
|
||||
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 = '''
|
||||
|
||||
@@ -164,16 +164,12 @@ EXAMPLES = '''
|
||||
#
|
||||
# Example of how to authenticate
|
||||
#
|
||||
# my_jenkins_params:
|
||||
# url_username: admin
|
||||
#
|
||||
- name: Install plugin
|
||||
jenkins_plugin:
|
||||
name: build-pipeline-plugin
|
||||
params: "{{ my_jenkins_params }}"
|
||||
url_username: admin
|
||||
url_password: p4ssw0rd
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user