You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
783 B

---
- hosts: debiantest
gather_facts: yes
vars_files:
- ./test/vars_docker.yml
pre_tasks:
- debug: var=ansible_python_interpreter
- debug: var=ansible_python_version
- name: Install docker
shell: |
apt-get update
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io
roles:
- ansible-bibliogram