[defaults] # Ansible Configuration for Custom PHP Framework Infrastructure inventory = inventories/production/hosts.yml roles_path = roles host_key_checking = False gathering = smart fact_caching = jsonfile fact_caching_connection = /tmp/ansible_facts_cache fact_caching_timeout = 3600 # Performance optimizations pipelining = True forks = 5 strategy = linear # strategy_plugins = ~/.ansible/plugins/strategy:~/dev/mitogen/ansible_mitogen/plugins/strategy # Logging and output log_path = logs/ansible.log stdout_callback = yaml stderr_callback = yaml bin_ansible_callbacks = True verbosity = 1 # Security settings - Vault password via environment or prompt (disabled for testing) ask_vault_pass = False # vault_encrypt_identity = vault@michaelschiemer.de # vault_identity_list = vault@michaelschiemer.de # Connection settings timeout = 60 remote_user = deploy private_key_file = ~/.ssh/deploy_key ansible_ssh_common_args = -o StrictHostKeyChecking=yes -o UserKnownHostsFile=~/.ssh/known_hosts -o ControlMaster=auto -o ControlPersist=60s # Privilege escalation become = True become_method = sudo become_user = root become_ask_pass = False become_exe = sudo [inventory] enable_plugins = host_list, script, auto, yaml, ini, toml [ssh_connection] ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=yes control_path = ~/.ssh/ansible-%%h-%%p-%%r retries = 3 pipelining = True scp_if_ssh = smart transfer_method = smart [persistent_connection] connect_timeout = 30 command_timeout = 30 [galaxy] server_list = galaxy, community_galaxy ignore_certs = False [galaxy_server.galaxy] url = https://galaxy.ansible.com/ # Token should be set via environment: ANSIBLE_GALAXY_TOKEN [galaxy_server.community_galaxy] url = https://galaxy.ansible.com/ # Token should be set via environment: ANSIBLE_GALAXY_TOKEN [diff] context = 3 always = False