mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update the docstring for os_security_group
Indicate that idempotence is on security group names, and give an example for updating a security group description.
This commit is contained in:
parent
640dbee643
commit
7f0da6d851
1 changed files with 10 additions and 1 deletions
|
@ -34,7 +34,8 @@ description:
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- Name that has to be given to the security group
|
- Name that has to be given to the security group. This module
|
||||||
|
requires that security group names be unique.
|
||||||
required: true
|
required: true
|
||||||
description:
|
description:
|
||||||
description:
|
description:
|
||||||
|
@ -54,8 +55,16 @@ EXAMPLES = '''
|
||||||
# Create a security group
|
# Create a security group
|
||||||
- os_security_group:
|
- os_security_group:
|
||||||
cloud=mordred
|
cloud=mordred
|
||||||
|
state=present
|
||||||
name=foo
|
name=foo
|
||||||
description=security group for foo servers
|
description=security group for foo servers
|
||||||
|
|
||||||
|
# Update the existing 'foo' security group description
|
||||||
|
- os_security_group:
|
||||||
|
cloud=mordred
|
||||||
|
state=present
|
||||||
|
name=foo
|
||||||
|
description=updated description for the foo security group
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue