Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deekayen/ansible-role-ping
Update rules in firewalld to allow ping and traceroute diagnostics inbound.
https://github.com/deekayen/ansible-role-ping
ansible ansible-role firewalld ping traceroute
Last synced: about 2 months ago
JSON representation
Update rules in firewalld to allow ping and traceroute diagnostics inbound.
- Host: GitHub
- URL: https://github.com/deekayen/ansible-role-ping
- Owner: deekayen
- License: bsd-3-clause
- Created: 2019-09-13T20:18:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-18T04:23:23.000Z (over 3 years ago)
- Last Synced: 2024-11-07T21:25:51.595Z (3 months ago)
- Topics: ansible, ansible-role, firewalld, ping, traceroute
- Homepage: https://galaxy.ansible.com/deekayen/ping
- Size: 60.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Ping and Traceroute
===================[![CI](https://github.com/deekayen/ansible-role-ping/workflows/CI/badge.svg)](https://github.com/deekayen/ansible-role-ping/actions?query=workflow%3ACI) [![Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.](https://www.repostatus.org/badges/latest/inactive.svg)](https://www.repostatus.org/#inactive) ![BSD 3-Clause license](https://img.shields.io/badge/license-BSD%203--Clause-blue) ![Linux platform](https://img.shields.io/badge/platform-linux-lightgrey)
Install the firewalld service, then override the default-deny firewall configurations to allow ping (echo-request) or other diagnostic traceroute traffic.
Requirements
------------firewalld
Default Variables
-----------------The options for types of allowed ICMP are dictated by the firewalld service.
```Shell
# firewall-cmd --get-icmptypes
destination-unreachable echo-reply echo-request parameter-problem redirect router-advertisement router-solicitation source-quench time-exceeded timestamp-reply timestamp-request
```The `ping_zone` is where the firewalld rules will update to modify ICMP access.
### Role Defaults
```YAML
ping_enable: yes
ping_source: 0.0.0.0/0
ping_types:
- echo-request
ping_zone: public
```Dependencies
------------None.
Example Playbook
----------------- hosts: all:!platform_windows
roles:
- deekayen.ping