22 lines
872 B
INI
22 lines
872 B
INI
# This file aontains Ansible-wide settings that apply to all operations
|
|
[defaults]
|
|
# Specifies the inventory file to use for inventory management
|
|
inventory = ./inventory.ini
|
|
# Enable host key checking for SSH connections
|
|
host_key_checking = True
|
|
# Specifies the private key file to use for SSH authentication
|
|
private_key_file = ~/.ssh/terraform_key
|
|
# Sets the default user for SSH connections
|
|
remote_user = groot
|
|
# Enables privilege escalation using sudo
|
|
become = yes
|
|
# Specifies the privilege escalation method to use
|
|
become_method = sudo
|
|
|
|
# -o ControlMaster=auto
|
|
# Enables SSH connection multiplexing. Creates a master SSH connection that can be reused for multiple subsequent connections to the same host
|
|
# -o ControlPersist=60s
|
|
# Sets the persistence time for the master connection to 60 seconds
|
|
[ssh_connection]
|
|
ssh_args = -o ControlMaster=auto -o ControlPersist=60s
|