---
title: Allow/Deny an Input/Output Ping
slug: homologacao-atmosphere/allowdeny-an-inputoutput-ping
description: Learn about the parameters and examples for enabling or disabling input/output ping in this comprehensive document. Discover how the Shell module's parameters are utilized and explore a code snippet for better understanding. Gain insights into the values 
createdAt: 2022-07-26T13:46:45.000Z
---

## Resumo

- Permitir/Negar um Ping de Entrada/Saída

## Parâmetros

| **Parâmetro** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**     |
| ------------- | -------- | ---------------------------- | ------------------- |
| table         | string   |                              | Nome da tabela.     |
| allow\_deny   | string   | - allow<br />- deny          | Bloquear ou liberar |

Utiliza parâmetros do módulo [Shell](https://docs.simonops.com/homologacao-atmosphere/shell).

## Exemplos

```yaml
- shell: 
    arguments: sudo iptables -A {{ input.tables }} -p icmp --icmp-type echo-request -j {{ input.allow_deny }}
  register: result
```

## Valores retornados

| **Chave**        | **Tipo** | **Retornado quando** | **Descrição**              |
| ---------------- | -------- | -------------------- | -------------------------- |
| output           | string   | Sempre               | Saída da execução          |
| had\_errors      | boolean  | Sempre               | Se teve erros              |
| output\_errors   | string   | Sempre               | Erros de saída da execução |
| output\_warnings | string   | Sempre               | Avisos de saída            |

