diff options
author | Sandra McCann <samccann@redhat.com> | 2022-03-28 06:32:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 03:32:47 -0700 |
commit | f03624e2957783e6b1ff6a005a978d945de59443 (patch) | |
tree | deaab4ad1fb624e87c1907a330b49a1425db369d /docs | |
parent | babc26adc1ee0ac054d9a0ab19784988cef867b4 (diff) | |
download | ansible-f03624e2957783e6b1ff6a005a978d945de59443.tar.gz |
clarify how to customize ansible cli output (#77357)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docsite/rst/user_guide/playbooks_best_practices.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/docsite/rst/user_guide/playbooks_best_practices.rst b/docs/docsite/rst/user_guide/playbooks_best_practices.rst index 9633353be1..ce8b1c9b0f 100644 --- a/docs/docsite/rst/user_guide/playbooks_best_practices.rst +++ b/docs/docsite/rst/user_guide/playbooks_best_practices.rst @@ -25,6 +25,12 @@ Use version control Keep your playbooks, roles, inventory, and variables files in git or another version control system and make commits to the repository when you make changes. Version control gives you an audit trail describing when and why you changed the rules that automate your infrastructure. +Customize the CLI output +------------------------- + +You can change the output from Ansible CLI commands using :ref:`callback_plugins`. + + Playbook tips ============= @@ -87,7 +93,7 @@ You should encrypt sensitive or secret variables with Ansible Vault. However, en When running a playbook, Ansible finds the variables in the unencrypted file, which pulls the sensitive variable values from the encrypted file. There is no limit to the number of variable and vault files or their names. -Note that using this strategy in your inventory still requires *all vault passwords to be available* (for example for ``ansible-playbook`` or `AWX/Ansible Tower <https://github.com/ansible/awx/issues/223#issuecomment-768386089>`_) when run with that inventory. +Note that using this strategy in your inventory still requires *all vault passwords to be available* (for example for ``ansible-playbook`` or `AWX/Ansible Tower <https://github.com/ansible/awx/issues/223#issuecomment-768386089>`_) when run with that inventory. Execution tricks ================ |