mailserver/deploy/roles/docker/tasks/main.yml

26 lines
551 B
YAML
Raw Normal View History

2018-12-28 21:03:40 +00:00
- name: Install and start docker
environment:
PYTHONPATH: "/usr/local/lib/python2.7/dist-packages"
block:
- apt_key:
url: https://download.docker.com/linux/debian/gpg
state: present
- apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/debian buster stable
state: present
- apt:
name: docker-ce
state: present
- pip:
name: docker-compose
- systemd:
enabled: yes
state: started
daemon_reload: yes
name: docker