Desktop setup
This commit is contained in:
commit
a7eaa7dbfb
14 changed files with 325 additions and 0 deletions
22
roles/docker/tasks/main.yml
Normal file
22
roles/docker/tasks/main.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
|
||||
- name: Install docker
|
||||
apt: name=docker.io state=present
|
||||
become: yes
|
||||
|
||||
- name: Make sure docker is running
|
||||
systemd:
|
||||
state: started
|
||||
name: docker
|
||||
become: yes
|
||||
|
||||
- name: Install docker-compose
|
||||
apt: name=docker-compose state=present
|
||||
become: yes
|
||||
|
||||
- name: Add jonathan to docker group
|
||||
user:
|
||||
name: jonathan
|
||||
groups: docker
|
||||
append: yes
|
||||
become: yes
|
Loading…
Add table
Add a link
Reference in a new issue