Start Docker and enable on boot

This commit is contained in:
Kris Lamoureux 2020-07-31 20:52:57 -04:00
parent 46f2b6c0f6
commit b8623eba72
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -47,9 +47,15 @@
groups: docker groups: docker
skeleton: /etc/skel skeleton: /etc/skel
shell: /bin/bash shell: /bin/bash
append: yes append: true
- name: Install docker-compose - name: Install docker-compose
script: install-compose.sh script: install-compose.sh
args: args:
creates: /usr/local/bin/docker-compose creates: /usr/local/bin/docker-compose
- name: Start Docker and enable on boot
service:
name: docker
state: started
enabled: true