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_install_compose: false # This role installs the binary directly, which is kinda nasty
docker_users: docker_users:
- "{{ user }}" - "{{ user }}"
- docker-cleanup
- docker - docker

View file

@ -1,3 +1,6 @@
- name: Include docker variables
include_vars: docker.yml
- name: Install docker-compose - name: Install docker-compose
apt: apt:
name: docker-compose 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 - name: Include docker variables
include_vars: docker.yml include_vars: docker.yml
- name: Install Docker
include: setup-docker.yml
# Applications # Applications
- name: Install calibre - name: Install calibre

View file

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