Ansible has many setting that can be adjusted and controlled using a configuration file called ansible.cfg. This file has multiple options that control many aspects of Ansible, including how Ansible looks and how it connects to managed devices. In this recipe, we will outline how to adjust some of these default settings.
Customizing Ansible's settings
How to do it...
- Create a new file called ansible.cfg, as shown here:
[defaults]
inventory=hosts
vault_password_file=decryption_password
gathering=explicit
How it works...
By default, Ansible's settings are controlled...