diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 425399c..8d7ca41 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = hosts +hostfile = hosts.private retry_files_enabled = False retry_files_save_path = /dev/null # ask_sudo_pass = True diff --git a/ansible/hosts b/ansible/hosts index d27f851..98668f3 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -1,5 +1,7 @@ [local] localhost ansible_connection=local +[remote] + [test] # vagrant ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant ansible_ssh_private_key_file=/Users/alpha/.vagrant.d/insecure_private_key