---
title: Deny conection
slug: homologacao-atmosphere/deny-conection
description: This document offers a comprehensive summary of a connection-denying module, outlining its parameters for table and IP configuration. It highlights the integration of parameters from the Shell module and provides a practical example for module usage. Addi
createdAt: 2022-07-26T13:46:49.000Z
---

## Resumo

- Negar conexão

## Parâmetros

| **Parâmetro** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários** |
| ------------- | -------- | ---------------------------- | --------------- |
| table         | string   |                              | Nome da tabela. |
| ip            | string   |                              | Ip              |

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

## Exemplos

```yaml
- shell: 
    arguments: sudo iptables -A {{ input.table }} -s {{ input.ip }} -j DROP
  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            |

