TP7 - Déploiement Ansible complet avec scripts PowerShell et documentation
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Configuration Ansible pour DockeZR
|
||||
[defaults]
|
||||
# Inventaire par défaut
|
||||
inventory = inventory.ini
|
||||
|
||||
# Désactiver la vérification de la clé SSH (à utiliser avec prudence)
|
||||
host_key_checking = False
|
||||
|
||||
# Nombre de tentatives de connexion
|
||||
timeout = 30
|
||||
|
||||
# Affichage des tâches
|
||||
display_skipped_hosts = False
|
||||
display_ok_hosts = True
|
||||
|
||||
# Format de sortie
|
||||
stdout_callback = yaml
|
||||
|
||||
# Ne pas créer de fichiers .retry
|
||||
retry_files_enabled = False
|
||||
|
||||
# Logs
|
||||
log_path = ./ansible.log
|
||||
|
||||
[privilege_escalation]
|
||||
# Configuration sudo
|
||||
become = True
|
||||
become_method = sudo
|
||||
become_user = root
|
||||
become_ask_pass = False
|
||||
|
||||
[ssh_connection]
|
||||
# Paramètres SSH
|
||||
pipelining = True
|
||||
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no
|
||||
|
||||
Reference in New Issue
Block a user