Commit be8c7972 authored by nanahira's avatar nanahira

add migrate

parent b0b91918
- hosts: switch
remote_user: root
tasks:
- name: migrate
become: true
shell: |
ipset restore -f {{ansible_user_dir}}/nextgen-network/ipsets/chnrouter.ipset || true
- name: reload_switch_rules
become: true
shell: '{{ansible_user_dir}}/nextgen-network/scripts/switch-rules-down.sh ; {{ansible_user_dir}}/nextgen-network/scripts/switch-rules-up.sh'
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