mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
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:
parent
d092d53198
commit
cb1b8edfa9
15 changed files with 424 additions and 136 deletions
|
@ -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
|
||||
'''
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue