mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Validate EXAMPLES as YAML
This commit is contained in:
parent
499d3a1b53
commit
7c00346714
112 changed files with 441 additions and 381 deletions
|
@ -128,8 +128,8 @@ EXAMPLES = '''
|
|||
|
||||
# Playbook: make sure spells with/without required dependencies (if any) are installed
|
||||
- sorcery:
|
||||
name: {{ item.spell }}
|
||||
depends: {{ item.depends | default(None) }}
|
||||
name: "{{ item.spell }}"
|
||||
depends: "{{ item.depends | default(None) }}"
|
||||
state: present
|
||||
with_items:
|
||||
- { spell: 'vifm', depends: '+file,-gtk+2' }
|
||||
|
|
|
@ -145,7 +145,7 @@ EXAMPLES = '''
|
|||
|
||||
# Force refresh of a repository
|
||||
- zypper_repository:
|
||||
repo: 'http://my_internal_ci_repo/repo
|
||||
repo: 'http://my_internal_ci_repo/repo'
|
||||
name: my_ci_repo
|
||||
state: present
|
||||
runrefresh: yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue