Merge branch 'master' of git.uumas.fi:uumas/ansible-docker
This commit is contained in:
@@ -3,11 +3,11 @@
|
|||||||
namespace: uumas
|
namespace: uumas
|
||||||
name: docker
|
name: docker
|
||||||
description: Roles for installing services in docker containers
|
description: Roles for installing services in docker containers
|
||||||
version: 0.9.0
|
version: 0.9.1
|
||||||
readme: README.md
|
readme: README.md
|
||||||
repository: https://git.uumas.fi/uumas/ansible-docker
|
repository: https://git.uumas.fi/uumas/ansible-docker
|
||||||
license_file: LICENSE
|
license_file: LICENSE
|
||||||
dependencies:
|
dependencies:
|
||||||
uumas.general: '>=0.5.9'
|
uumas.general: '>=0.5.13'
|
||||||
authors:
|
authors:
|
||||||
- uumas
|
- uumas
|
||||||
|
|||||||
@@ -74,6 +74,9 @@ argument_specs:
|
|||||||
docker_vhost_domains:
|
docker_vhost_domains:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
docker_vhost_additional_locations:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
docker_entrypoint:
|
docker_entrypoint:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ argument_specs:
|
|||||||
docker_vhost_domains:
|
docker_vhost_domains:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
docker_vhost_additional_locations:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
docker_entrypoint:
|
docker_entrypoint:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ argument_specs:
|
|||||||
docker_vhost_domains:
|
docker_vhost_domains:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
docker_vhost_additional_locations:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
docker_entrypoint:
|
docker_entrypoint:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -36,15 +36,9 @@ argument_specs:
|
|||||||
docker_volume_type:
|
docker_volume_type:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
reverse_proxy_type:
|
|
||||||
description: "Passed to container role"
|
|
||||||
required: false
|
|
||||||
ports:
|
ports:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
docker_vhost_domains:
|
|
||||||
description: "Passed to container role"
|
|
||||||
required: false
|
|
||||||
docker_entrypoint:
|
docker_entrypoint:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -40,6 +40,9 @@ argument_specs:
|
|||||||
docker_vhost_domains:
|
docker_vhost_domains:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
docker_vhost_additional_locations:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
docker_entrypoint:
|
docker_entrypoint:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -88,4 +88,6 @@ argument_specs:
|
|||||||
docker_entrypoint:
|
docker_entrypoint:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
docker_vhost_additional_locations:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
|
|||||||
@@ -144,6 +144,9 @@ argument_specs:
|
|||||||
docker_vhost_domains:
|
docker_vhost_domains:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
docker_vhost_additional_locations:
|
||||||
|
description: "Passed to container role"
|
||||||
|
required: false
|
||||||
docker_entrypoint:
|
docker_entrypoint:
|
||||||
description: "Passed to container role"
|
description: "Passed to container role"
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -168,6 +168,9 @@ argument_specs:
|
|||||||
docker_vhost_domains:
|
docker_vhost_domains:
|
||||||
description: "docker_vhost_domains[docker_service] is a list which defines which domains should be proxied to the container. Required if reverse_proxy_type is not none. docker_vhost_domains[docker_service + '-phpmyadmin'] is used for phpmyadmin"
|
description: "docker_vhost_domains[docker_service] is a list which defines which domains should be proxied to the container. Required if reverse_proxy_type is not none. docker_vhost_domains[docker_service + '-phpmyadmin'] is used for phpmyadmin"
|
||||||
type: dict
|
type: dict
|
||||||
|
docker_vhost_additional_locations:
|
||||||
|
description: "Passed to vhost role as vhost_locations variable"
|
||||||
|
required: false
|
||||||
docker_published_ports:
|
docker_published_ports:
|
||||||
description: "A list of published ports in docker format (<host listen address>:<host port>:<container port>)"
|
description: "A list of published ports in docker format (<host listen address>:<host port>:<container port>)"
|
||||||
type: list
|
type: list
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
vhost_proxy_target_protocol: "{{ docker_proxy_target_protocol }}"
|
vhost_proxy_target_protocol: "{{ docker_proxy_target_protocol }}"
|
||||||
vhost_domains: "{{ docker_vhost_domains[docker_service_name] }}"
|
vhost_domains: "{{ docker_vhost_domains[docker_service_name] }}"
|
||||||
vhost_proxy_target_port: "{{ ports[docker_service_name][vhost_proxy_target_protocol] }}"
|
vhost_proxy_target_port: "{{ ports[docker_service_name][vhost_proxy_target_protocol] }}"
|
||||||
|
vhost_locations: "{{ docker_vhost_additional_locations }}"
|
||||||
when: reverse_proxy_type != 'traefik'
|
when: reverse_proxy_type != 'traefik'
|
||||||
|
|
||||||
- name: Set published ports variable to http port
|
- name: Set published ports variable to http port
|
||||||
|
|||||||
Reference in New Issue
Block a user