Skip to content

Commit

Permalink
make the control_path pattern change for each build
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpiper committed Nov 18, 2016
1 parent 1bc4636 commit 67c8cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/deploy.run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ if [ -n "${ANSIBLE_VAULT_PASSWORD}" ]; then
fi

# Append to ansible.cfg
cat >> /opt/ansible.cfg << EOM
envsubst >> /opt/ansible.cfg << EOM
[ssh_connection]
control_path=/dev/shm/ansible-ssh-%%h-%%p-%%r
control_path=/dev/shm/ansible-ssh-${CI_BUILD_ID}-%%C
EOM

# ==> Get latest deployment code from github
Expand Down

0 comments on commit 67c8cb2

Please sign in to comment.