Verified Commit c3d94b3b authored by Tomáš Sapák's avatar Tomáš Sapák
Browse files

fix docker version

parent a23adf9f
[stable]
stable.ics.muni.cz
[slaves]
147.251.21.252
147.251.21.251
147.251.21.162
......@@ -11,4 +11,5 @@
apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/debian {{ansible_distribution_release}} stable
- name: Install Docker
apt: name=docker-ce
apt:
name: docker-ce=17.12.1~ce-0~debian
- hosts: slaves
gather_facts: False
remote_user: "debian"
become: "true"
pre_tasks:
- name: Install python for Ansible
raw: test -e /usr/bin/python || (test -e /usr/bin/apt && apt -y update && apt install -y python-minimal; test -e /usr/bin/yum && yum install -y python2 python-simplejson )
changed_when: False
- setup: # aka gather_facts
- name: Setup linux
hosts: slaves
remote_user: "debian"
become: "true"
roles:
- ssh-key
- vim
- base-system
- docker
- { role: vmware-tools, when: ansible_virtualization_type == "VMware" }
- upgrade-reboot
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment