| commit | 6f362f3324109a1c0d938e81cff8dbbf09f278bf | [log] [tgz] |
|---|---|---|
| author | Carlos Frias <friasc@google.com> | Fri Feb 03 11:15:45 2017 -0500 |
| committer | Carlos Frias <friasc@google.com> | Fri Feb 03 11:15:45 2017 -0500 |
| tree | 09ce062a0cf1956f54fca1bf09bf3c7642de25b8 | |
| parent | b97e3b73d6cae12a9d44f0fc254515470995fc83 [diff] |
fixed missing command fragment
diff --git a/tasks/main.yml b/tasks/main.yml index 171ee04..535fac3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -1,4 +1,4 @@ --- # tasks file for apigee-opdk-iptables-port-block - name: Using iptables to block a port - shell: "iptables -A INPUT -p tcp --destination-port {{ destination_port }} ! -s {{ local_address }} -i eth0 -j DROP" + shell: "iptables -A INPUT -p tcp --destination-port {{ destination_port }} ! -s `hostname` -i eth0 -j DROP"