add uisp role
This commit is contained in:
1
roles/uisp/README.md
Normal file
1
roles/uisp/README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Sets up an UISP docker container.
|
||||||
35
roles/uisp/meta/argument_specs.yml
Normal file
35
roles/uisp/meta/argument_specs.yml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
argument_specs:
|
||||||
|
main:
|
||||||
|
short_description: UISP container
|
||||||
|
description: "Sets up an UISP docker container."
|
||||||
|
options:
|
||||||
|
ports:
|
||||||
|
description: "ports.netflow is used directly. Others passed to container role"
|
||||||
|
required: true
|
||||||
|
|
||||||
|
# All options after this will be passed directly to the container role
|
||||||
|
docker_service_suffix:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
docker_host_user:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
|
||||||
|
docker_additional_services:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
|
||||||
|
docker_volume_type:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
reverse_proxy_type:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
docker_vhost_domains:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
docker_entrypoint:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
18
roles/uisp/tasks/main.yml
Normal file
18
roles/uisp/tasks/main.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: UISP container
|
||||||
|
import_role:
|
||||||
|
name: container
|
||||||
|
vars:
|
||||||
|
docker_service: uisp
|
||||||
|
docker_proxy_target_protocol: https
|
||||||
|
docker_image: nico640/docker-unms
|
||||||
|
docker_image_http_port: 8443
|
||||||
|
docker_mounts:
|
||||||
|
- name: config
|
||||||
|
path: /config
|
||||||
|
docker_published_ports:
|
||||||
|
- "0.0.0.0:{{ ports.uisp.netflow }}:2055"
|
||||||
|
docker_env:
|
||||||
|
HTTPS_PORT: "8443"
|
||||||
|
PUBLIC_HTTPS_PORT: "443"
|
||||||
Reference in New Issue
Block a user