forked from Netz39_Admin/netz39-infra-ansible
use docker_setup role
This commit is contained in:
parent
419b89af37
commit
5dda159d2d
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue