Adds one more example for rollbar_deployment
module (#56535)
- Also `name` added to existing example in order to comply documentation styleguide
This commit is contained in:
parent
d7dc9586d5
commit
b275dede0c
1 changed files with 9 additions and 1 deletions
|
@ -63,13 +63,21 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- rollbar_deployment:
|
||||
- name: Rollbar deployment notification
|
||||
rollbar_deployment:
|
||||
token: AAAAAA
|
||||
environment: staging
|
||||
user: ansible
|
||||
revision: '4.2'
|
||||
rollbar_user: admin
|
||||
comment: Test Deploy
|
||||
|
||||
- name: Notify rollbar about current git revision deployment by current user
|
||||
rollbar_deployment:
|
||||
token: "{{ rollbar_access_token }}"
|
||||
environment: production
|
||||
revision: "{{ lookup('pipe', 'git rev-parse HEAD') }}"
|
||||
user: "{{ lookup('env', 'USER') }}"
|
||||
'''
|
||||
import traceback
|
||||
|
||||
|
|
Loading…
Reference in a new issue