mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
Fix examples formatting (#345)
This commit is contained in:
parent
31ba39cac4
commit
a7c830f49d
148 changed files with 330 additions and 334 deletions
|
@ -94,7 +94,7 @@ EXAMPLES = '''
|
|||
user: "{{ github_user }}"
|
||||
password: "{{ github_password }}"
|
||||
|
||||
- name: create a new webhook in a github enterprise installation with multiple event triggers (token auth)
|
||||
- name: Create a new webhook in a github enterprise installation with multiple event triggers (token auth)
|
||||
github_webhook:
|
||||
repository: myorg/myrepo
|
||||
url: https://jenkins.example.com/ghprbhook/
|
||||
|
@ -108,7 +108,7 @@ EXAMPLES = '''
|
|||
token: "{{ github_user_api_token }}"
|
||||
github_url: https://github.example.com
|
||||
|
||||
- name: delete a webhook (password auth)
|
||||
- name: Delete a webhook (password auth)
|
||||
github_webhook:
|
||||
repository: ansible/ansible
|
||||
url: https://www.example.com/hooks/
|
||||
|
|
|
@ -45,14 +45,14 @@ author:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: list hooks for a repository (password auth)
|
||||
- name: List hooks for a repository (password auth)
|
||||
github_webhook_info:
|
||||
repository: ansible/ansible
|
||||
user: "{{ github_user }}"
|
||||
password: "{{ github_password }}"
|
||||
register: ansible_webhooks
|
||||
|
||||
- name: list hooks for a repository on GitHub Enterprise (token auth)
|
||||
- name: List hooks for a repository on GitHub Enterprise (token auth)
|
||||
github_webhook_info:
|
||||
repository: myorg/myrepo
|
||||
user: "{{ github_user }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue