- command: find /home/ -name 'prefs.js' 2>/dev/null
register: prefs
- lineinfile:
dest: "{{ item }}"
...
with_items: "{{ prefs.stdout_lines }}"
iptables -P FORWARD DROP
iptables -I FORWARD -m time --timestart 13:20:00 --timestop 14:20:00 --kerneltz -j ACCEPT
iptables -I FORWARD -m time --timestart 15:20:00 --timestop 15:20:00 --kerneltz -j ACCEPT