Validate EXAMPLES as YAML

This commit is contained in:
Matt Martz 2017-02-07 15:39:24 -06:00 committed by Toshio Kuratomi
commit 7c00346714
112 changed files with 441 additions and 381 deletions

View file

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

View file

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