move order of ipset destroy up
This commit is contained in:
parent
696bf3348f
commit
1430497f5c
|
@ -1,6 +1,10 @@
|
|||
---
|
||||
# This role deploys ipset rulesets to Ubuntu hosts
|
||||
|
||||
- name: Flush any existing ipsets
|
||||
shell:
|
||||
cmd: /sbin/ipset destroy
|
||||
|
||||
- name: Copy ipset.service
|
||||
copy:
|
||||
src: ipset.service
|
||||
|
@ -18,10 +22,6 @@
|
|||
src: "{{ ansible_fqdn }}.ipset"
|
||||
dest: /etc/ipset.conf
|
||||
|
||||
- name: Flush any existing ipsets
|
||||
shell:
|
||||
cmd: /sbin/ipset destroy
|
||||
|
||||
- name: Start ipset.service
|
||||
systemd:
|
||||
name: ipset
|
||||
|
|
Loading…
Reference in New Issue