38 lines
944 B
INI
38 lines
944 B
INI
[defaults]
|
|
# Configuration Ansible pour Forgejo
|
|
|
|
# Désactiver la vérification de la clé SSH (à adapter selon vos besoins de sécurité)
|
|
host_key_checking = False
|
|
|
|
# Permettre les fichiers temporaires world-readable pour become_user
|
|
allow_world_readable_tmpfiles = True
|
|
|
|
# Timeout pour les connexions SSH
|
|
timeout = 30
|
|
|
|
# Afficher les tâches qui prennent du temps
|
|
callback_whitelist = profile_tasks, timer
|
|
|
|
# Désactiver le gathering des facts par défaut (on le fait manuellement)
|
|
gathering = smart
|
|
|
|
# Cache des facts
|
|
fact_caching = jsonfile
|
|
fact_caching_connection = /tmp/ansible_facts
|
|
fact_caching_timeout = 3600
|
|
|
|
# Couleurs
|
|
force_color = True
|
|
|
|
[privilege_escalation]
|
|
become = True
|
|
become_method = sudo
|
|
become_user = root
|
|
become_ask_pass = False
|
|
|
|
[ssh_connection]
|
|
# Utiliser le pipelining pour améliorer les performances
|
|
pipelining = True
|
|
|
|
# Options SSH
|
|
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no
|