system-config/playbooks/roles/install-ansible/templates/ansible.cfg.j2
Monty Taylor 52a70baa8f Replace callback_whitelist with callback_enabled
This is throwing deprecation warnings from ansible. Also, honestly,
the new name is much clearer.

Change-Id: I5b4648235f1256178d8a102d7d7a1767a9096bfd
2021-07-30 09:56:00 -05:00

42 lines
1.2 KiB
Django/Jinja

[defaults]
inventory=/home/zuul/src/opendev.org/opendev/system-config/inventory/base/hosts.yaml,/home/zuul/src/opendev.org/opendev/system-config/inventory/service/groups.yaml,/etc/ansible/hosts/emergency.yaml
library=/usr/share/ansible
log_path=/var/log/ansible/ansible.log
inventory_plugins=/etc/ansible/inventory_plugins
roles_path=/etc/ansible/roles
retry_files_enabled=False
retry_files_save_path=
gathering=smart
fact_caching=jsonfile
fact_caching_connection=/var/cache/ansible/facts
# Squash warning about ansible auto-transforming group names with -'s in them
force_valid_group_names=ignore
callback_enabled=profile_tasks, timer
{% if install_ansible_ara_enable %}
callback_plugins=/etc/ansible/callback_plugins:{{ install_ansible_ara_callback_plugins.stdout }}
{% else %}
callback_plugins=/etc/ansible/callback_plugins
{% endif %}
stdout_callback=debug
[inventory]
enable_plugins=yaml,yamlgroup,advanced_host_list,ini
cache=True
cache_plugin=jsonfile
cache_connection=/var/cache/ansible/inventory
any_unparsed_is_failed=True
[ssh_connection]
retries=3
pipelining = True
[callback_profile_tasks]
task_output_limit = 50
{% if install_ansible_ara_enable %}
[ara]
{% for k, v in install_ansible_ara_config.items() %}
{{ k }}={{ v }}
{% endfor %}
{% endif %}