mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Validate EXAMPLES as YAML
This commit is contained in:
parent
499d3a1b53
commit
7c00346714
112 changed files with 441 additions and 381 deletions
|
@ -45,10 +45,12 @@ extends_documentation_fragment: vmware.documentation
|
|||
EXAMPLES = '''
|
||||
# Example vmware_target_canonical_facts command from Ansible Playbooks
|
||||
- name: Get Canonical name
|
||||
local_action: >
|
||||
vmware_target_canonical_facts
|
||||
hostname="{{ ansible_ssh_host }}" username=root password=vmware
|
||||
target_id=7
|
||||
local_action:
|
||||
module: vmware_target_canonical_facts
|
||||
hostname: "{{ ansible_ssh_host }}"
|
||||
username: root
|
||||
password: vmware
|
||||
target_id: 7
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue