27 lines
1.0 KiB
INI
27 lines
1.0 KiB
INI
# Since Ansible 2.12 (core):
|
|
# To generate an example config file (a "disabled" one with all default settings, commented out):
|
|
# $ ansible-config init --disabled > ansible.cfg
|
|
#
|
|
# Also you can now have a more complete file by including existing plugins:
|
|
# ansible-config init --disabled -t all > ansible.cfg
|
|
|
|
# For previous versions of Ansible you can check for examples in the 'stable' branches of each version
|
|
# Note that this file was always incomplete and lagging changes to configuration settings
|
|
|
|
# for example, for 2.9: https://github.com/ansible/ansible/blob/stable-2.9/examples/ansible.cfg
|
|
|
|
[defaults]
|
|
inventory = inventory.ini
|
|
remote_user = user-ansible
|
|
host_key_checking = false
|
|
vault_password_file = /root/workspace/ansible-practice/vault.key
|
|
#callbacks_enabled = timer, profile_roles, profile_tasks
|
|
log_path=/tmp/ansible_log.txt
|
|
collections_paths=/root/workspace/ansible-practice/projet00/collections
|
|
|
|
[privilege_escalation]
|
|
become = True
|
|
become_method = sudo
|
|
become_user = root
|
|
become_ask_pass = False
|