| commit | 28276e53979bea9d24225d6b999b612285ff064c | [log] [tgz] |
|---|---|---|
| author | Carlos Frias <carlos.frias.01@gmail.com> | Fri Feb 09 16:41:08 2018 -0600 |
| committer | Carlos Frias <carlos.frias.01@gmail.com> | Fri Feb 09 16:41:08 2018 -0600 |
| tree | d6906a9cb491c6f7e826b0e4b2298795c427f18d | |
| parent | 5ecdfa9c075b7041ddfae72875e21ef1ab9aa658 [diff] |
updated where start is done.
diff --git a/tasks/main.yml b/tasks/main.yml index 66952f3..fbb9a4a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -13,11 +13,10 @@ - name: Using iptables to block a port become: true iptables: - action: insert chain: INPUT protocol: "tcp" destination_port: "{{ destination_port }}" - source: "!{{ private_address }}" - in_interface: eth0 - policy: DROP + source: "!{{ ansible_host }}" + in_interface: 'eth0' + jump: DROP state: present \ No newline at end of file