mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix docstring
This commit is contained in:
parent
ad9ede5d4c
commit
cda210c3f9
1 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/> .
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
|
@ -44,7 +44,7 @@ options:
|
||||||
mode:
|
mode:
|
||||||
description:
|
description:
|
||||||
- Mode for the Layer 2 port
|
- Mode for the Layer 2 port
|
||||||
required: null
|
required: false
|
||||||
default: null
|
default: null
|
||||||
choices: ['access','trunk']
|
choices: ['access','trunk']
|
||||||
access_vlan:
|
access_vlan:
|
||||||
|
@ -66,14 +66,14 @@ options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Manage the state of the resource.
|
- Manage the state of the resource.
|
||||||
required: null
|
required: false
|
||||||
default: present
|
default: present
|
||||||
choices: ['present','absent', 'unconfigured']
|
choices: ['present','absent', 'unconfigured']
|
||||||
|
|
||||||
'''
|
'''
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# ENSURE Eth1/5 is in its default switchport state
|
# ENSURE Eth1/5 is in its default switchport state
|
||||||
- nxos_switchport: interface=eth1/5 state=unconfigured host={{ inventory_hostname }}
|
- nxos_switchport: interface=eth1/5 state=unconfigured host={{ inventory_hostname }}
|
||||||
|
|
||||||
# ENSURE Eth1/5 is configured for access vlan 20
|
# ENSURE Eth1/5 is configured for access vlan 20
|
||||||
- nxos_switchport: interface=eth1/5 mode=access access_vlan=20 host={{ inventory_hostname }}
|
- nxos_switchport: interface=eth1/5 mode=access access_vlan=20 host={{ inventory_hostname }}
|
||||||
|
|
Loading…
Reference in a new issue