1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

ip_netns: fix module name in example (#207)

* ip_netns: fix module name in example

Was referenced as 'namespace' while it should have been 'ip_netns'.

Closes: #203
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>

* Update plugins/modules/net_tools/ip_netns.py

* Update plugins/modules/net_tools/ip_netns.py

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
Marcelo Ricardo Leitner 2020-04-20 03:40:35 -03:00 committed by GitHub
parent 5b1652e8fa
commit dab16b8783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,13 +44,13 @@ options:
'''
EXAMPLES = '''
# Create a namespace named mario
- name: Create a namespace named mario
namespace:
ip_netns:
name: mario
state: present
- name: Delete a namespace named luigi
namespace:
ip_netns:
name: luigi
state: absent
'''