[defaults] inventory = inventory/hosts.yml roles_path = roles collections_path = collections:~/.ansible/collections interpreter_python = /usr/bin/python3 host_key_checking = True stdout_callback = ansible.builtin.default result_format = yaml callbacks_enabled = ansible.posix.profile_tasks display_skipped_hosts = False retry_files_enabled = False forks = 5 remote_user = root # Comme ansible-centreon : connexion directe en root par clé. become reste déclaré # pour un futur hôte joint par un compte de service + sudo ; sans effet en root. [privilege_escalation] become = True become_method = sudo become_ask_pass = False [ssh_connection] pipelining = True ssh_args = -o ControlMaster=auto -o ControlPersist=300s -o StrictHostKeyChecking=accept-new