# 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/ansible/vault.key #callbacks_enabled = timer, profile_roles, profile_tasks [privilege_escalation] become = True become_method = sudo become_user = root become_ask_pass = False