updated where start is done.
diff --git a/tasks/main.yml b/tasks/main.yml index be7fa4a..4dd5069 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -2,7 +2,7 @@ # tasks file for apigee-opdk-iptables-port-block - name: Using iptables to block a port become: true - shell: "iptables -A INPUT -p tcp --destination-port {{ destination_port }} ! -s `hostname` -i eth0 -j DROP" + shell: "sudo iptables -A INPUT -p tcp --destination-port {{ destination_port }} ! -s `hostname` -i eth0 -j DROP" environment: http_proxy: "{{ http_proxy }}" https_proxy: "{{ https_proxy }}"