Skip to content

Commit 2e366f2

Browse files
committed
network variable was not used in container creation
1 parent b17b097 commit 2e366f2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

roles/openaccess/tasks/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
- name: Add the MariaDB docker network to the list of networks when MariaDB runs in Docker
2929
ansible.builtin.set_fact:
30-
invite_docker_networks:
30+
openaccess_docker_networks:
3131
- name: loadbalancer
3232
- name: openconext_mariadb
3333
when: mariadb_in_docker | default(false) | bool
@@ -42,8 +42,7 @@
4242
restart_policy: "{{ openaccess_server_restart_policy }}"
4343
restart_retries: "{{ openaccess_server_restart_retries }}" # Only for restart policy on-failure
4444
state: started
45-
networks:
46-
- name: "loadbalancer"
45+
networks: "{{ openaccess_docker_networks }}"
4746
mounts:
4847
- source: /opt/openconext/openaccess/serverapplication.yml
4948
target: /application.yml

0 commit comments

Comments
 (0)