Commit 4f990180 authored by nanahira's avatar nanahira

dc in routing

parent f6ea0cb8
...@@ -40,6 +40,11 @@ ...@@ -40,6 +40,11 @@
src: scripts/ipset.j2 src: scripts/ipset.j2
dest: '{{ansible_user_dir}}/nextgen-network/ipsets/{{item}}.ipset' dest: '{{ansible_user_dir}}/nextgen-network/ipsets/{{item}}.ipset'
with_items: '{{routeListNames}}' with_items: '{{routeListNames}}'
- name: services conf
copy:
content: '{{dockerServices | to_yaml}}'
dest: '{{ansible_user_dir}}/nextgen-network/services/docker-compose.yml'
when: not noBird
- name: monitor route plans - name: monitor route plans
template: template:
src: route-plans.j2 src: route-plans.j2
...@@ -52,6 +57,12 @@ ...@@ -52,6 +57,12 @@
dest: '{{ansible_user_dir}}/nextgen-network/services/gost.json' dest: '{{ansible_user_dir}}/nextgen-network/services/gost.json'
notify: restart_gost notify: restart_gost
when: installGost when: installGost
- name: start services
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
remove_orphans: true
# pull: true
when: not noBird
- name: chnroute - name: chnroute
become: true become: true
shell: | shell: |
......
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