mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Validate EXAMPLES as YAML
This commit is contained in:
committed by
Toshio Kuratomi
parent
499d3a1b53
commit
7c00346714
@@ -236,6 +236,7 @@ EXAMPLES = '''
|
||||
credentials_file: "/path/to/your-key.json"
|
||||
project_id: "your-project-name"
|
||||
|
||||
---
|
||||
# Example Playbook
|
||||
- name: Compute Engine Instance Examples
|
||||
hosts: localhost
|
||||
|
||||
@@ -91,10 +91,10 @@ gcpubsub:
|
||||
mykey2: myvalu2
|
||||
mykey3: myvalue3
|
||||
- message: "this is message 2"
|
||||
attributes:
|
||||
server: prod
|
||||
sla: "99.9999"
|
||||
owner: fred
|
||||
attributes:
|
||||
server: prod
|
||||
sla: "99.9999"
|
||||
owner: fred
|
||||
|
||||
# Subscriptions
|
||||
## Create Subscription (pull)
|
||||
|
||||
Reference in New Issue
Block a user