mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
meraki_ssid - Add examples to documentation (#56425)
* Add standalone copy/paste-able examples
This commit is contained in:
parent
2897cf43ce
commit
27aca731b3
2 changed files with 48 additions and 0 deletions
2
changelogs/fragments/48971-meraki_ssid-docs.yml
Normal file
2
changelogs/fragments/48971-meraki_ssid-docs.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- meraki_ssid - Add examples to documentation.
|
|
@ -216,6 +216,52 @@ extends_documentation_fragment: meraki
|
|||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
- name: Enable and name SSID
|
||||
meraki_ssid:
|
||||
auth_key: abc123
|
||||
state: present
|
||||
org_name: YourOrg
|
||||
net_name: WiFi
|
||||
name: GuestSSID
|
||||
enabled: true
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Set PSK with invalid encryption mode
|
||||
meraki_ssid:
|
||||
auth_key: abc123
|
||||
state: present
|
||||
org_name: YourOrg
|
||||
net_name: WiFi
|
||||
name: GuestSSID
|
||||
auth_mode: psk
|
||||
psk: abc1234
|
||||
encryption_mode: eap
|
||||
ignore_errors: yes
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Configure RADIUS servers
|
||||
meraki_ssid:
|
||||
auth_key: abc123
|
||||
state: present
|
||||
org_name: YourOrg
|
||||
net_name: WiFi
|
||||
name: GuestSSID
|
||||
auth_mode: open-with-radius
|
||||
radius_servers:
|
||||
- host: 192.0.1.200
|
||||
port: 1234
|
||||
secret: abc98765
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Enable click-through splash page
|
||||
meraki_ssid:
|
||||
auth_key: abc123
|
||||
state: present
|
||||
org_name: YourOrg
|
||||
net_name: WiFi
|
||||
name: GuestSSID
|
||||
splash_page: Click-through splash page
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
||||
RETURN = r'''
|
||||
|
|
Loading…
Reference in a new issue