From 100dff9047bd7f536db5c42871e580acab2d210e Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 5 Jan 2015 18:41:48 -0800 Subject: [PATCH] [meta] Privatize hosts --- ansible/ansible.cfg | 2 +- ansible/hosts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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