Merge pull request 'Add the db-related label conditionally' (#2) from adellam/ansible-role-epas:master into master

This commit is contained in:
Andrea Dell'Amico 2020-10-26 16:50:48 +01:00
commit 45d0443057
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@
labels:
epas_pg_data: 'epas_db'
labels_state: '{{ docker_label_state_mode }}'
when: epas_dockerized_db
- name: Install the docker compose file
template: src=epas-docker-compose.yml.j2 dest={{ epas_compose_dir }}/docker-epas-stack.yml owner=root group=root mode='0400'
@ -51,5 +52,5 @@
# when: epas_behind_haproxy
run_once: True
when: docker_swarm_manager_main_node is defined and docker_swarm_manager_main_node | bool
when: docker_swarm_manager_node is defined and docker_swarm_manager_node
tags: [ 'epas', 'epas_swarm', 'epas_server' ]