Native YAML - Network (#3587)

* Fix citrix native yaml

* Fix snmp native yaml and connectio

* Fix more native syntax

* More native syntax

* Fix openvswitch native syntax

* More YAML code !

* More fixes

* Improve nmcli
This commit is contained in:
Fabio Alessandro Locati 2016-12-01 11:17:32 +00:00 committed by Matt Clay
parent d092d53198
commit cb1b8edfa9
15 changed files with 424 additions and 136 deletions

View file

@ -87,13 +87,26 @@ author: "Nandor Sivok (@dominis)"
EXAMPLES = '''
# Disable the server
ansible host -m netscaler -a "nsc_host=nsc.example.com user=apiuser password=apipass"
- netscaler:
nsc_host: nsc.example.com
user: apiuser
password: apipass
# Enable the server
ansible host -m netscaler -a "nsc_host=nsc.example.com user=apiuser password=apipass action=enable"
- netscaler:
nsc_host: nsc.example.com
user: apiuser
password: apipass
action: enable
# Disable the service local:8080
ansible host -m netscaler -a "nsc_host=nsc.example.com user=apiuser password=apipass name=local:8080 type=service action=disable"
- netscaler:
nsc_host: nsc.example.com
user: apiuser
password: apipass
name: 'local:8080'
type: service
action: disable
'''