Ansible Basic Configuration (ansible.cfg)

ansible.cfg is a file that contains basic configuration for #202204272021. The following code block shows the example:

[defaults]
stdout_callback = yaml
connection = smart
timeout = 60
deprecation_warnings = False
action_warnings = False
system_warnings = False
host_key_checking = False
collection_on_ansible_version_mismatch = ignore
retry_files_enabled = False
interpreter_python = auto_silent
inventory = /home/clover/my_inventory/hosts

[persistent_connection]
connection_timeout = 200
command_timeout = 200
Links to this page
  • Ansible

    To use Ansible, we need to install it into a node, which will become the management node or control node where we will place our configuration files or 202204272036# in here. Ansible will then run on remote hosts called managed nodes using the playbooks without actually installed into them. By default, it uses 202205191908 as the mean of communication between management node and managed nodes. We could configure it in 202204302318# to use SFTP or SCP instead. The SSH public key needs to be transferred to the managed nodes.

#automation