diff options
author | Jeff Geerling <geerlingguy@mac.com> | 2018-06-14 01:14:11 -0500 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2018-06-14 07:51:17 -0700 |
commit | b6ec3242fd42abeb5403e551248759d7a4cb6549 (patch) | |
tree | 3910237b9876ea9b0bc0d96599e9eb5ab0d7e316 | |
parent | 0f50c2f1d7c6a2d17bc3e00f39af6768632dfcd2 (diff) | |
download | ansible-b6ec3242fd42abeb5403e551248759d7a4cb6549.tar.gz |
Fix typos in blocks documentation examples. (#41508)
(cherry picked from commit a4f49ed64899630946209d643bb84255f279e284)
-rw-r--r-- | docs/docsite/rst/user_guide/playbooks_blocks.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/docsite/rst/user_guide/playbooks_blocks.rst b/docs/docsite/rst/user_guide/playbooks_blocks.rst index 5bb725d9d8..3383b54368 100644 --- a/docs/docsite/rst/user_guide/playbooks_blocks.rst +++ b/docs/docsite/rst/user_guide/playbooks_blocks.rst @@ -50,7 +50,7 @@ Blocks also introduce the ability to handle errors in a way similar to exception tasks: - - name: Attempt and gracefull roll back demo + - name: Attempt and graceful roll back demo block: - debug: msg: 'I execute normally' @@ -65,7 +65,7 @@ Blocks also introduce the ability to handle errors in a way similar to exception msg: 'I also never execute :-(' always: - debug: - msg: "this always executes" + msg: "This always executes" The tasks in the ``block`` would execute normally, if there is any error the ``rescue`` section would get executed with whatever you need to do to recover from the previous error. The ``always`` section runs no matter what previous @@ -81,7 +81,7 @@ Another example is how to run handlers after an error occurred : tasks: - - name: Attempt and gracefull roll back demo + - name: Attempt and graceful roll back demo block: - debug: msg: 'I execute normally' @@ -93,7 +93,7 @@ Another example is how to run handlers after an error occurred : handlers: - name: run me even after an error debug: - msg: 'this handler runs even on error' + msg: 'This handler runs even on error' .. seealso:: |