Move enable after there is something to enable.
This commit is contained in:
parent
9857bec762
commit
ed5b38d0d5
1 changed files with 7 additions and 7 deletions
|
@ -104,13 +104,6 @@
|
|||
- config
|
||||
- base
|
||||
|
||||
- name: iptables service enabled
|
||||
service: name=iptables state=started enabled=true
|
||||
tags:
|
||||
- iptables
|
||||
- service
|
||||
- base
|
||||
|
||||
- name: iptables
|
||||
template: src={{ item }} dest=/etc/sysconfig/iptables mode=600 backup=yes
|
||||
with_first_found:
|
||||
|
@ -127,6 +120,13 @@
|
|||
- config
|
||||
- base
|
||||
|
||||
- name: iptables service enabled
|
||||
service: name=iptables state=started enabled=true
|
||||
tags:
|
||||
- iptables
|
||||
- service
|
||||
- base
|
||||
|
||||
- name: rsyslog.conf
|
||||
copy: src={{ item }} dest=/etc/rsyslog.conf mode=644
|
||||
with_first_found:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue