Commit fec59215 authored by nanahira's avatar nanahira

stop opposite protocol service

parent 6c308784
- name: '{{conn.name}}: stop wireguard'
become: true
ignore_errors: true
systemd:
name: 'wg-quick@{{conn.name}}'
state: stopped
enabled: no
- name: '{{conn.name}}: tasks for {{conn.ocType}}' - name: '{{conn.name}}: tasks for {{conn.ocType}}'
include_tasks: './configure-{{conn.ocType}}.yaml' include_tasks: './configure-{{conn.ocType}}.yaml'
# 因为测试期间频繁改动参数,这里手动down掉 - name: '{{conn.name}}: stop oc'
# 调试wg的时候开这个,调试别的的时候注释掉 docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
stopped: true
services:
- 'openconnect-{{conn.name}}'
ignore_errors: true
- name: '{{conn.name}}: wg conf' - name: '{{conn.name}}: wg conf'
become: true become: true
template: template:
......
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