ansible.cfg: Add comments for explaining every option / group of options

master
Felix Stupp 3 years ago
parent 3a5cf551e7
commit dadee8a49d
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,15 +1,31 @@
[defaults] [defaults]
# always ask for vault pass instead of expecting user to make it available unasked
ask_vault_pass = True ask_vault_pass = True
# force handlers to be executed always, especially after a normal task failed to execute
# without this option, it might happen that a handler might be missed to be executed after the role was completed in multiple tries (e.g. reload certain services)
force_handlers = True force_handlers = True
# select custom inventory parser for setting up inventory
inventory = ./hosts.py inventory = ./hosts.py
# disable usage of cowsay for ansible-playbook's logging (increases readability drastically, only matters if cowsay is installed)
nocows = True nocows = True
# disable storing retry files after fail because of no usage
retry_files_enabled = False retry_files_enabled = False
# automatically select python interpreter, should be sufficient
interpreter_python = auto interpreter_python = auto
# add mitogen strategies and select mitogen as default strategy
# mitogen, see https://mitogen.networkgenomics.com/ansible_detailed.html # mitogen, see https://mitogen.networkgenomics.com/ansible_detailed.html
strategy_plugins = ./misc/mitogen/ansible_mitogen/plugins/strategy strategy_plugins = ./misc/mitogen/ansible_mitogen/plugins/strategy
strategy = mitogen_linear strategy = mitogen_linear
[diff] [diff]
# always enable --diff option
always = True always = True

Loading…
Cancel
Save