Adds one more example for `rollbar_deployment` module (#56535)

- Also `name` added to existing example in order to comply documentation styleguide
pull/56756/head
Alexey Nikitin 6 years ago committed by Alicia Cozine
parent d7dc9586d5
commit b275dede0c

@ -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…
Cancel
Save