Commit 8b70bc6a authored by Andreas Schmidt's avatar Andreas Schmidt

+= docker state

parent 7a0163f0
docker_dependencies:
pkg.installed:
- names:
- apt-transport-https
- ca-certificates
- curl
- software-properties-common
docker_install_key:
cmd.run:
- name: "curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -"
- unless: "apt-key list | grep 0EBFCD88"
- require:
- pkg: docker_dependencies
docker_bootstrap:
cmd.run:
- name: 'add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"'
- require:
- cmd: docker_install_key
docker_ce:
pkg.installed:
- name: docker-ce
- require:
- cmd: docker_bootstrap
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