Remove the constraint on the worker node #16

Merged
adellam merged 1 commits from adellam/ansible-role-epas:master into master 2023-05-22 20:10:10 +02:00
2 changed files with 0 additions and 7 deletions

View File

@ -14,12 +14,6 @@
- name: Manage the installation of the ePAS configuration of the swarm service
block:
- name: Add the label that will be used as a constraint for the attachments volume
docker_node:
hostname: '{{ epas_docker_attachments_node }}'
labels:
epas_storage: 'attachments'
labels_state: 'merge'
- name: Add the label that will be used as a constraint for the postgresql DB
docker_node:

View File

@ -94,7 +94,6 @@ services:
placement:
constraints:
- node.role == worker
- {{ epas_node_constraints }}
restart_policy:
condition: on-failure
delay: 5s