ansible-lint: use command instead of shell
This was the last instance of using command instead of shell. It changes the iptables-restore command.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
shell: iptables-save > /etc/sysconfig/iptables
|
shell: iptables-save > /etc/sysconfig/iptables
|
||||||
|
|
||||||
- name: Restore iptables rules
|
- name: Restore iptables rules
|
||||||
shell: iptables-restore
|
command: iptables-restore
|
||||||
|
|
||||||
- name: Restart ipsec
|
- name: Restart ipsec
|
||||||
service:
|
service:
|
||||||
|
|||||||
Reference in New Issue
Block a user