1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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:
Alexey Nikitin 2019-05-21 23:12:54 +03:00 committed by Alicia Cozine
parent d7dc9586d5
commit b275dede0c

View file

@ -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