Extract docker cleanup stuff into its own role

This commit is contained in:
Jake Howard 2020-04-23 20:17:54 +01:00
parent 7a296c63a2
commit 9962d9103f
Signed by: jake
GPG key ID: 57AFB45680EDD477
11 changed files with 7 additions and 7 deletions

View file

@ -20,4 +20,5 @@
docker_install_compose: false # This role installs the binary directly, which is kinda nasty
docker_users:
- "{{ user }}"
- docker-cleanup
- docker

View file

@ -1,3 +1,6 @@
- name: Include docker variables
include_vars: docker.yml
- name: Install docker-compose
apt:
name: docker-compose

View file

@ -0,0 +1,3 @@
docker_user:
id: 3000
name: dockeruser

View file

@ -1,9 +1,6 @@
- name: Include docker variables
include_vars: docker.yml
- name: Install Docker
include: setup-docker.yml
# Applications
- name: Install calibre

View file

@ -1,6 +1,2 @@
docker_user:
id: 3000
name: dockeruser
docker_compose_file_mask: 0664
docker_compose_directory_mask: 0775