Remove the constraint on the worker node

This commit is contained in:
Andrea Dell'Amico 2023-05-22 20:09:26 +02:00
parent de6cfbfbb4
commit 37cab28696
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
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