diff --git a/ansible.cfg b/ansible.cfg index 05561b5..ca536d3 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -3,6 +3,7 @@ collections_path = /root/.ansible/collections:/usr/share/ansible/collections inventory = inventories/hosts.yml host_key_checking = False remote_user = root +private_key_file = /root/.ssh/ansible_id_rsa [inventory] enable_plugins = auto, yaml, toml \ No newline at end of file