From ba853b8c1a8f119b71d6ed971c01e17ed0767db3 Mon Sep 17 00:00:00 2001 From: Joshua Lund Date: Tue, 18 Jun 2013 12:26:40 -0600 Subject: [PATCH] Fixed a few small typos --- docsite/latest/rst/playbooks2.rst | 2 +- library/cloud/quantum_router_interface | 2 +- library/notification/mail | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docsite/latest/rst/playbooks2.rst b/docsite/latest/rst/playbooks2.rst index 362e6b20587..3bcdf3ef09e 100644 --- a/docsite/latest/rst/playbooks2.rst +++ b/docsite/latest/rst/playbooks2.rst @@ -290,7 +290,7 @@ decide to do something conditionally based on success or failure:: - action: command /bin/something when: result|failed - action: command /bin/something_else - when: result|sucess + when: result|success As a reminder, to see what derived variables are available, you can do:: diff --git a/library/cloud/quantum_router_interface b/library/cloud/quantum_router_interface index dfc01e2928e..f85ac1a311b 100644 --- a/library/cloud/quantum_router_interface +++ b/library/cloud/quantum_router_interface @@ -239,7 +239,7 @@ def main(): if module.params['state'] == 'absent': port_id = _get_port_id(quantum, module, router_id, subnet_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) module.exit_json(changed=True, result="Deleted") diff --git a/library/notification/mail b/library/notification/mail index b3d9dc794fe..76d39cc6b27 100644 --- a/library/notification/mail +++ b/library/notification/mail @@ -103,7 +103,7 @@ options: EXAMPLES = ''' # 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 - local_action: mail