mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-09 04:00:31 -07: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:
parent
5b1652e8fa
commit
dab16b8783
1 changed files with 3 additions and 3 deletions
|
@ -44,13 +44,13 @@ options:
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Create a namespace named mario
|
|
||||||
- name: Create a namespace named mario
|
- name: Create a namespace named mario
|
||||||
namespace:
|
ip_netns:
|
||||||
name: mario
|
name: mario
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Delete a namespace named luigi
|
- name: Delete a namespace named luigi
|
||||||
namespace:
|
ip_netns:
|
||||||
name: luigi
|
name: luigi
|
||||||
state: absent
|
state: absent
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Add table
Reference in a new issue