Commit 3e77dadd authored by nanahira's avatar nanahira

create ipset at first time

parent 9139c1ac
......@@ -35,6 +35,9 @@
shell: '{{ansible_user_dir}}/nextgen-network/scripts/global-postup.sh'
args:
creates: /tmp/mycard_global_postup_done
- name: mycard ipset create
become: true
shell: 'ipset create mycard hash:net maxelem 1000000 || true'
- name: mycard ipset
become: true
shell: 'ipset add mycard {{item}} || true'
......
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