mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
- Added `callback_plugins` and `callbacks_enabled` configurations in `ansible.cfg` and `infrastructure/ansible.cfg` to activate the `run_logger`.
26 lines
799 B
INI
26 lines
799 B
INI
[defaults]
|
|
# Note: When running from the project root, the root ansible.cfg is used.
|
|
# This file is for running ansible-playbook from within the infrastructure/ directory.
|
|
inventory = inventory/hosts.ini
|
|
roles_path = roles
|
|
collections_paths = collections
|
|
interpreter_python = auto_silent
|
|
callback_plugins = ../lib/ansible/plugins/callback
|
|
callbacks_enabled = run_logger
|
|
# For Ansible < 2.13, we use community.general.yaml
|
|
# For Ansible >= 2.13, we should use result_format=yaml in ansible.builtin.default
|
|
# To maintain compatibility, we use the default callback and set result_format
|
|
stdout_callback = default
|
|
result_format = yaml
|
|
forks = 20
|
|
timeout = 30
|
|
host_key_checking = True
|
|
|
|
[privilege_escalation]
|
|
become = True
|
|
become_method = sudo
|
|
become_ask_pass = False
|
|
|
|
[ssh_connection]
|
|
pipelining = True
|