template-ansible/ansible.cfg
2024-05-08 13:06:44 +02:00

33 lines
1.8 KiB
INI

[defaults]
# (path) The default root path for Ansible config files on the controller.
home=./.ansible
# (boolean) If you have cowsay installed but want to avoid the 'cows' (why????), use this.
nocows = true
# (pathlist) Comma separated list of Ansible inventory sources
inventory = ./inventory
# (string) Sets the macro for the 'ansible_managed' variable available for :ref:`ansible_collections.ansible.builtin.template_module` and :ref:`ansible_collections.ansible.windows.win_template_module`. This is only relevant for those two modules.
ansible_managed = This file is managed with Ansible
# (pathspec) Colon separated paths in which Ansible will search for Roles.
roles_path = ./roles
# (string) Set the main callback used to display Ansible output. You can only have one at a time.
# You can have many other callbacks, but just one can be in charge of stdout.
# See :ref:`callback_plugins` for a list of available options.
stdout_callback = yaml
[connection]
# (boolean) This is a global option, each connection plugin can override either by having more specific options or not supporting pipelining at all.
# Pipelining, if supported by the connection plugin, reduces the number of network operations required to execute a module on the remote server, by executing many Ansible modules without actual file transfer.
# It can result in a very significant performance improvement when enabled.
# However this conflicts with privilege escalation (become). For example, when using 'sudo:' operations you must first disable 'requiretty' in /etc/sudoers on all managed hosts, which is why it is disabled by default.
# This setting will be disabled if ``ANSIBLE_KEEP_REMOTE_FILES`` is enabled.
pipelining = true
[diff]
# (bool) Configuration toggle to tell modules to show differences when in 'changed' status, equivalent to ``--diff``.
always = true