mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixed a few small typos
This commit is contained in:
parent
bac81be3f9
commit
ba853b8c1a
3 changed files with 3 additions and 3 deletions
|
@ -290,7 +290,7 @@ decide to do something conditionally based on success or failure::
|
||||||
- action: command /bin/something
|
- action: command /bin/something
|
||||||
when: result|failed
|
when: result|failed
|
||||||
- action: command /bin/something_else
|
- action: command /bin/something_else
|
||||||
when: result|sucess
|
when: result|success
|
||||||
|
|
||||||
|
|
||||||
As a reminder, to see what derived variables are available, you can do::
|
As a reminder, to see what derived variables are available, you can do::
|
||||||
|
|
|
@ -239,7 +239,7 @@ def main():
|
||||||
if module.params['state'] == 'absent':
|
if module.params['state'] == 'absent':
|
||||||
port_id = _get_port_id(quantum, module, router_id, subnet_id)
|
port_id = _get_port_id(quantum, module, router_id, subnet_id)
|
||||||
if not port_id:
|
if not port_id:
|
||||||
module.exit_json(changed = False, result = "Sucess")
|
module.exit_json(changed = False, result = "Success")
|
||||||
_remove_interface_router(quantum, module, router_id, subnet_id)
|
_remove_interface_router(quantum, module, router_id, subnet_id)
|
||||||
module.exit_json(changed=True, result="Deleted")
|
module.exit_json(changed=True, result="Deleted")
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ options:
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Example playbook sending mail to root
|
# Example playbook sending mail to root
|
||||||
- local_action: mail msg='System ${ansible_hostname} has been sucessfully provisioned.'
|
- local_action: mail msg='System ${ansible_hostname} has been successfully provisioned.'
|
||||||
|
|
||||||
# Send e-mail to a bunch of users, attaching files
|
# Send e-mail to a bunch of users, attaching files
|
||||||
- local_action: mail
|
- local_action: mail
|
||||||
|
|
Loading…
Reference in a new issue