mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
parent
8b92e0454d
commit
41cfdda6a3
533 changed files with 2130 additions and 2130 deletions
|
@ -53,47 +53,47 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
# Get all Jenkins jobs using basic auth
|
||||
- jenkins_job_info:
|
||||
- community.general.jenkins_job_info:
|
||||
user: admin
|
||||
password: hunter2
|
||||
register: my_jenkins_job_info
|
||||
|
||||
# Get all Jenkins jobs using the token
|
||||
- jenkins_job_info:
|
||||
- community.general.jenkins_job_info:
|
||||
user: admin
|
||||
token: abcdefghijklmnop
|
||||
register: my_jenkins_job_info
|
||||
|
||||
# Get info about a single job using basic auth
|
||||
- jenkins_job_info:
|
||||
- community.general.jenkins_job_info:
|
||||
name: some-job-name
|
||||
user: admin
|
||||
password: hunter2
|
||||
register: my_jenkins_job_info
|
||||
|
||||
# Get info about a single job in a folder using basic auth
|
||||
- jenkins_job_info:
|
||||
- community.general.jenkins_job_info:
|
||||
name: some-folder-name/some-job-name
|
||||
user: admin
|
||||
password: hunter2
|
||||
register: my_jenkins_job_info
|
||||
|
||||
# Get info about jobs matching a shell glob using basic auth
|
||||
- jenkins_job_info:
|
||||
- community.general.jenkins_job_info:
|
||||
glob: some-job-*
|
||||
user: admin
|
||||
password: hunter2
|
||||
register: my_jenkins_job_info
|
||||
|
||||
# Get info about all failing jobs using basic auth
|
||||
- jenkins_job_info:
|
||||
- community.general.jenkins_job_info:
|
||||
color: red
|
||||
user: admin
|
||||
password: hunter2
|
||||
register: my_jenkins_job_info
|
||||
|
||||
# Get info about passing jobs matching a shell glob using basic auth
|
||||
- jenkins_job_info:
|
||||
- community.general.jenkins_job_info:
|
||||
name: some-job-*
|
||||
color: blue
|
||||
user: admin
|
||||
|
@ -101,7 +101,7 @@ EXAMPLES = '''
|
|||
register: my_jenkins_job_info
|
||||
|
||||
- name: Get the info from custom URL with token and validate_certs=False
|
||||
jenkins_job_info:
|
||||
community.general.jenkins_job_info:
|
||||
user: admin
|
||||
token: 126df5c60d66c66e3b75b11104a16a8a
|
||||
url: https://jenkins.example.com
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue