summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthew Gamble <git@matthewgamble.net>2016-03-23 20:38:12 +1100
committerMatthew Gamble <git@matthewgamble.net>2016-03-23 20:38:12 +1100
commit7b06ec79e32df77ea0b111f3fff7b4c4fe3195e8 (patch)
tree777d2e3ec1960ec3dd7b6446808c25dec57b0813 /examples
parent72e111ecca607c98bea1f20966283870e9304941 (diff)
downloadansible-7b06ec79e32df77ea0b111f3fff7b4c4fe3195e8.tar.gz
Add documentation for squash_actions configuration setting
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index fe60bc71aa..98657cc062 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -199,6 +199,12 @@
#retry_files_enabled = False
#retry_files_save_path = ~/.ansible-retry
+# squash actions
+# Ansible can optimise actions that call modules with list parameters
+# when looping. Instead of calling the module once per with_ item, the
+# module is called once with all items at once. Currently this only works
+# under limited circumstances, and only with parameters named 'name'.
+#squash_actions = apk,apt,dnf,package,pacman,pkgng,yum,zypper
# prevents logging of task data, off by default
#no_log = False