mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Validate EXAMPLES as YAML
This commit is contained in:
committed by
Toshio Kuratomi
parent
499d3a1b53
commit
7c00346714
@@ -2,7 +2,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Ansible module to manage Big Monitoring Fabric service chains
|
||||
# (c) 2016, Ted Elhourani <ted@bigswitch.com>
|
||||
# (c) 2016, Ted Elhourani <ted@bigswitch.com>,
|
||||
#
|
||||
# This file is part of Ansible
|
||||
#
|
||||
@@ -59,11 +59,11 @@ options:
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: bigmon inline service chain
|
||||
bigmon_chain:
|
||||
name: MyChain
|
||||
controller: '{{ inventory_hostname }}'
|
||||
state: present
|
||||
validate_certs: false
|
||||
bigmon_chain:
|
||||
name: MyChain
|
||||
controller: '{{ inventory_hostname }}'
|
||||
state: present
|
||||
validate_certs: false
|
||||
'''
|
||||
|
||||
|
||||
|
||||
@@ -84,13 +84,13 @@ options:
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: policy to aggregate filter and deliver data center (DC) 1 traffic
|
||||
bigmon_policy:
|
||||
name: policy1
|
||||
policy_description: DC 1 traffic policy
|
||||
action: drop
|
||||
controller: '{{ inventory_hostname }}'
|
||||
state: present
|
||||
validate_certs: false
|
||||
bigmon_policy:
|
||||
name: policy1
|
||||
policy_description: DC 1 traffic policy
|
||||
action: drop
|
||||
controller: '{{ inventory_hostname }}'
|
||||
state: present
|
||||
validate_certs: false
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
Reference in New Issue
Block a user