Skip to content

Commit

Permalink
Manage: fix the docker networks for manage. Soon the mariadb network …
Browse files Browse the repository at this point in the history
…will be obsolete for manage
  • Loading branch information
quartje committed Dec 17, 2024
1 parent 5d82362 commit eb478b0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions roles/manage/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,13 @@
notify:
- "restart manageserver"

- name: Add the mongodb docker network to the list of networks when MongoDB runs in Docker
- name: Add the mongodb and mariadb docker network to the list of networks when MongoDB runs in Docker
ansible.builtin.set_fact:
manage_docker_networks:
- name: loadbalancer
- name: openconext_mongodb
when: mongodb_in_docker | default(false) | bool
- name: Add the MariaDB docker network to the list of networks when MariaDB runs in Docker
ansible.builtin.set_fact:
manage_docker_networks:
- name: loadbalancer
- name: openconext_mariadb
when: mariadb_in_docker | default(false) | bool
when: mongodb_in_docker | default(false) | bool

- name: Create and start the server container
community.docker.docker_container:
Expand Down

0 comments on commit eb478b0

Please sign in to comment.