- command: find /home/ -name 'prefs.js' 2>/dev/null
register: prefs
- lineinfile:
dest: "{{ item }}"
...
with_items: "{{ prefs.stdout_lines }}"
- local_action: find paths="/tmp/" patterns="*.log" recurse=yes
register: output
- copy: src="{{ item.path }}" dest="{{ item.path }}"
with_items: "{{ output.files }}"
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