Commit 81afa526 authored by nanahira's avatar nanahira

fix

parent a3245582
--- ---
- hosts: chnroute-reverse - hosts: chnroute-reverse
remote_user: root remote_user: root
become: true
tasks: tasks:
- name: upload list - name: upload list
become: true
copy: copy:
src: '../chnroute-reverse/chnroute-reverse.txt' src: '../chnroute-reverse/chnroute-reverse.txt'
dest: '{{ansible_user_dir}}/chnroute-reverse.txt' dest: '{{ansible_user_dir}}/chnroute-reverse.txt'
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
notify: reload_list notify: reload_list
handlers: handlers:
- name: reload_list - name: reload_list
become: true
shell: | shell: |
ipset create chnrouter hash:net maxelem 1000000 || true ipset create chnrouter hash:net maxelem 1000000 || true
ipset flush chnrouter ipset flush chnrouter
......
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