From 643b064af3ee6d1fd3c06de4e6f77af5760d93dc Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Wed, 20 Dec 2017 07:43:10 -0700 Subject: [PATCH] Remove hard-coded path references Remove hard-coded path references in some Ansible configuration files Signed-off-by: Scott Lowe --- docker/docker-ce-edge/ansible.cfg | 4 ++-- docker/ubuntu-swarm-mode/ansible.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/docker-ce-edge/ansible.cfg b/docker/docker-ce-edge/ansible.cfg index 9f96c92..a975d51 100644 --- a/docker/docker-ce-edge/ansible.cfg +++ b/docker/docker-ce-edge/ansible.cfg @@ -1,5 +1,5 @@ [defaults] inventory = ./.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -private_key_file = /Users/slowe/.vagrant.d/insecure_private_key +private_key_file = ~/.vagrant.d/insecure_private_key remote_user = vagrant -host_key_checking = False \ No newline at end of file +host_key_checking = False diff --git a/docker/ubuntu-swarm-mode/ansible.cfg b/docker/ubuntu-swarm-mode/ansible.cfg index e753432..eb0d2c4 100644 --- a/docker/ubuntu-swarm-mode/ansible.cfg +++ b/docker/ubuntu-swarm-mode/ansible.cfg @@ -5,4 +5,4 @@ remote_user = vagrant host_key_checking = false [ssh_connection] -ssh_args = -o IdentityFile=/home/slowe/.vagrant.d/insecure_private_key -o PubKeyAuthentication=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=~/.ansible/cp/ansible-ssh-%h-%p-%r +ssh_args = -o IdentityFile=~/.vagrant.d/insecure_private_key -o PubKeyAuthentication=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=~/.ansible/cp/ansible-ssh-%h-%p-%r