Skip to content

Commit

Permalink
Add ansible timeout for ssh connection
Browse files Browse the repository at this point in the history
And attempts of connection retries
  • Loading branch information
Ekaterina Chernova committed Sep 11, 2018
1 parent 56d44c6 commit 58860b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ RUN pip install ./kqueen

# Avoid Ssh issues with docker overlayfs and sockets
ENV ANSIBLE_SSH_CONTROL_PATH /dev/shm/cp%%h-%%p-%%r
ENV ANSIBLE_SSH_RETRIES 3
ENV ANSIBLE_TIMEOUT 25
ENV KQUEEN_KS_KUBESPRAY_PATH /code/kubespray
ENV KQUEEN_KS_ANSIBLE_CMD /usr/local/bin/ansible
ENV KQUEEN_KS_ANSIBLE_PLAYBOOK_CMD /usr/local/bin/ansible-playbook
Expand Down

0 comments on commit 58860b2

Please sign in to comment.