mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Validate EXAMPLES as YAML
This commit is contained in:
parent
499d3a1b53
commit
7c00346714
112 changed files with 441 additions and 381 deletions
|
@ -57,7 +57,8 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
Simple Example:
|
||||
---
|
||||
# Simple Example:
|
||||
|
||||
- name: "Create Product"
|
||||
local_action:
|
||||
|
@ -69,9 +70,8 @@ Simple Example:
|
|||
params:
|
||||
name: "Centos 7"
|
||||
|
||||
Abstraction Example:
|
||||
|
||||
katello.yml
|
||||
# Abstraction Example:
|
||||
# katello.yml
|
||||
---
|
||||
- name: "{{ name }}"
|
||||
local_action:
|
||||
|
@ -82,7 +82,7 @@ katello.yml
|
|||
entity: "{{ entity }}"
|
||||
params: "{{ params }}"
|
||||
|
||||
tasks.yml
|
||||
# tasks.yml
|
||||
---
|
||||
- include: katello.yml
|
||||
vars:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue