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
|
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
|
||||||
|
|
Loading…
Reference in a new issue