diff options
author | sirkubax <muszynski@so1.net> | 2018-01-01 22:10:59 +0100 |
---|---|---|
committer | sirkubax <muszynski@so1.net> | 2018-01-01 22:10:59 +0100 |
commit | 03060af4f717a4ebdd80236329d24da3a439c223 (patch) | |
tree | 72fc3816a4af1687b0ab1ddc790704aef9455b69 /ansible.html.markdown | |
parent | 2d596b6c4f1eda1bdf906c84110da5c84ce69e39 (diff) |
update
Diffstat (limited to 'ansible.html.markdown')
-rw-r--r-- | ansible.html.markdown | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ansible.html.markdown b/ansible.html.markdown index b83fb0c1..891f20ac 100644 --- a/ansible.html.markdown +++ b/ansible.html.markdown @@ -538,14 +538,14 @@ ansible -m ping web*:!backend:monitoring:&allow_change #### Tagging You should tag some (not all) objects - a task in a playbook, all tasks included form a role, etc. -It allwos you to execute the choosen parts of the playbook. +It allows you to execute the choosen parts of the playbook. #### no_logs: True You may see, that some roles print a lot of output in verbose mode. There is also a debug module. This is the place where credentials may leak. Use `no_log` to hide the output. #### Debug module -allows to print a value to the screen +allows to print a value to the screen - use it! #### Register the output of a task You can register the output (stdout), rc (return code), stderr of a task with the `register` command. @@ -554,6 +554,8 @@ You can register the output (stdout), rc (return code), stderr of a task with th #### Loop: with, with_items, with_dict, with_together +[Read more](http://docs.ansible.com/ansible/latest/playbooks_conditionals.html) + ## Introduction Ansible is (one of the many) orchestration tools. It allows you to controll your environment (infrastructure and a code) and automate the manual tasks. |