mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Validate EXAMPLES as YAML
This commit is contained in:
committed by
Toshio Kuratomi
parent
499d3a1b53
commit
7c00346714
@@ -91,7 +91,7 @@ EXAMPLES = '''
|
||||
|
||||
# Ensure account configuration
|
||||
- local_action:
|
||||
module: cs_configuration:
|
||||
module: cs_configuration
|
||||
name: allow.public.user.templates
|
||||
value: false
|
||||
account: acme inc
|
||||
|
||||
@@ -84,7 +84,7 @@ EXAMPLES = '''
|
||||
# register your existing local public key:
|
||||
- cs_sshkeypair:
|
||||
name: linus@example.com
|
||||
public_key: '{{ lookup('file', '~/.ssh/id_rsa.pub') }}'
|
||||
public_key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user