use docker_setup role

This commit is contained in:
Maximilian Deubel 2022-01-06 11:04:35 +01:00
parent 419b89af37
commit 5dda159d2d

View file

@ -4,11 +4,12 @@
become: true become: true
vars: vars:
ansible_python_interpreter: /usr/bin/python3 ansible_python_interpreter: /usr/bin/python3
roles:
- role: docker_setup
vars:
docker_data_root: "/srv/docker"
- role: apache
tasks: tasks:
- name: Install python docker package
apt:
name: python3-docker
state: present
- name: Setup the docker container for unifi-controller - name: Setup the docker container for unifi-controller
docker_container: docker_container:
name: unifi-controller name: unifi-controller