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.
reviewable/pr18780/r1
David Shrewsbury 11 years ago
parent c298741aa6
commit 5be1b64b85

@ -34,7 +34,8 @@ description:
options:
name:
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
description:
description:
@ -54,8 +55,16 @@ EXAMPLES = '''
# Create a security group
- os_security_group:
cloud=mordred
state=present
name=foo
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…
Cancel
Save