diff options
author | Areli, Fuss (af732p) <af732p@att.com> | 2018-05-24 11:24:40 +0300 |
---|---|---|
committer | Areli, Fuss (af732p) <af732p@att.com> | 2018-05-24 11:24:40 +0300 |
commit | af331643dc0af5e3fb8bebfa9efb2682e46451b8 (patch) | |
tree | 6a9415cf34eac1dc231e239aca9d7bfe63ad8048 /ansible/roles/ansible-vvp-bootstrap/tasks | |
parent | 61bb1d8b6a20fec9235ca5b5af0174ad1c85aa67 (diff) |
Alignment of VVP devkit
Alignment of VVP devkit
Change-Id: I7c6dae29faf0a14dce4d40114bd0bc4be8e23e42
Issue-ID: VVP-60
Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
Diffstat (limited to 'ansible/roles/ansible-vvp-bootstrap/tasks')
-rw-r--r-- | ansible/roles/ansible-vvp-bootstrap/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/roles/ansible-vvp-bootstrap/tasks/main.yml b/ansible/roles/ansible-vvp-bootstrap/tasks/main.yml index 48b545e..81a3f1f 100644 --- a/ansible/roles/ansible-vvp-bootstrap/tasks/main.yml +++ b/ansible/roles/ansible-vvp-bootstrap/tasks/main.yml @@ -115,6 +115,18 @@ with_items: - 443 - 80 + +# dnsmask prereq - Allow ping between all hosts +- name: Allow Ping from Outside to Inside + shell: | + iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT + iptables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT + +- name: Allow Ping from Inside to Outside + shell: | + iptables -A OUTPUT -p icmp --icmp-type echo-request -j ACCEPT + iptables -A INPUT -p icmp --icmp-type echo-reply -j ACCEPT + - name: Drop INPUT shell: iptables -P INPUT DROP tags: |