Commit dd93378a authored by nanahira's avatar nanahira

add noDockerOp

parent dd19d7eb
......@@ -154,7 +154,7 @@
project_src: '{{ansible_user_dir}}/nextgen-network/services'
remove_orphans: true
# pull: true
when: not noBird
when: not noBird and not noDockerOp
#- name: systemd bird
# become: true
# template:
......@@ -197,40 +197,40 @@
restarted: true
services:
- gateways-monitor
when: not noBird
when: not noBird and not noDockerOp
- name: restart_frps
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services:
- frps
when: not noBird
when: not noBird and not noDockerOp
- name: restart_frpc
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services: '{{frpcRestarts}}'
when: frpcRestarts
when: frpcRestarts and not noDockerOp
- name: restart_ocserv
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services:
- ocserv
when: not noBird
when: not noBird and not noDockerOp
- name: restart_gost
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services:
- gost
when: installGost
when: installGost and not noDockerOp
- name: restart_openconnect
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services: '{{ocRestarts}}'
when: ocRestarts
when: ocRestarts and not noDockerOp
#- name: restart_bird_systemd
# become: true
# systemd:
......
......@@ -281,7 +281,8 @@ class InventoryBuilder {
ansible_ssh_port: host.sshPort || 22,
ansible_python_interpreter: host.python || 'python3',
noBird: !!host.noBird,
systemBird: !!host.sysBird
systemBird: !!host.sysBird,
noDockerOp: !!host.noDockerOp,
}
}
......
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