From 5dda159d2dd81ac088fce5db4a0f5fd26301a42d Mon Sep 17 00:00:00 2001 From: Maximilian Deubel Date: Thu, 6 Jan 2022 11:04:35 +0100 Subject: [PATCH] use docker_setup role --- unifi.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/unifi.yml b/unifi.yml index 7cbbc01..eef241c 100644 --- a/unifi.yml +++ b/unifi.yml @@ -4,11 +4,12 @@ become: true vars: ansible_python_interpreter: /usr/bin/python3 + roles: + - role: docker_setup + vars: + docker_data_root: "/srv/docker" + - role: apache tasks: - - name: Install python docker package - apt: - name: python3-docker - state: present - name: Setup the docker container for unifi-controller docker_container: name: unifi-controller