Commit 22cd8097 authored by nanahira's avatar nanahira

disable nobird docker restart

parent d5f717a6
......@@ -141,12 +141,14 @@
restarted: true
services:
- bird
when: not noBird and not systemBird
- name: restart_frps
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services:
- frps
when: not noBird and not systemBird
- name: restart_frpc
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
......@@ -154,13 +156,14 @@
services:
- frpc-{{item.name}}
with_items: '{{connections}}'
when: 'item.protocol == "wgfrp" and item.frpType == "frpc"'
when: 'item.protocol == "wgfrp" and item.frpType == "frpc"' and not noBird and not systemBird
- name: restart_ocserv
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services:
- ocserv
when: not noBird and not systemBird
- name: restart_openconnect
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
......@@ -168,7 +171,7 @@
services:
- openconnect-{{item.name}}
with_items: '{{connections}}'
when: 'item.protocol == "oc" and item.ocType == "client"'
when: 'item.protocol == "oc" and item.ocType == "client"' and not noBird and not systemBird
- name: restart_bird_systemd
become: true
systemd:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment