Commit 22cd8097 authored by nanahira's avatar nanahira

disable nobird docker restart

parent d5f717a6
...@@ -141,12 +141,14 @@ ...@@ -141,12 +141,14 @@
restarted: true restarted: true
services: services:
- bird - bird
when: not noBird and not systemBird
- name: restart_frps - name: restart_frps
docker_compose: docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services' project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true restarted: true
services: services:
- frps - frps
when: not noBird and not systemBird
- name: restart_frpc - name: restart_frpc
docker_compose: docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services' project_src: '{{ansible_user_dir}}/nextgen-network/services'
...@@ -154,13 +156,14 @@ ...@@ -154,13 +156,14 @@
services: services:
- frpc-{{item.name}} - frpc-{{item.name}}
with_items: '{{connections}}' 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 - name: restart_ocserv
docker_compose: docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services' project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true restarted: true
services: services:
- ocserv - ocserv
when: not noBird and not systemBird
- name: restart_openconnect - name: restart_openconnect
docker_compose: docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services' project_src: '{{ansible_user_dir}}/nextgen-network/services'
...@@ -168,7 +171,7 @@ ...@@ -168,7 +171,7 @@
services: services:
- openconnect-{{item.name}} - openconnect-{{item.name}}
with_items: '{{connections}}' 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 - name: restart_bird_systemd
become: true become: true
systemd: 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