Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Lock docker version to currently installed version when it is install…
Browse files Browse the repository at this point in the history
…ed (#44)
  • Loading branch information
jaevans authored and chris-short committed Jan 12, 2019
1 parent ecbfe7a commit 45a8662
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/kubeadm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
- name: Run Docker {{ docker_ce_version }} Install Script
script: "files/get-docker.sh {{ docker_ce_version }}"
when: docker_there.stat.exists == False
register: docker_installed

- name: Lock docker version to {{ docker_ce_version}}
command: /usr/bin/apt-mark hold docker-ce
when: docker_installed.changed


- name: Pass bridged IPv4 traffic to iptables' chains
sysctl:
Expand Down

0 comments on commit 45a8662

Please sign in to comment.