---
title: Allow or Deny server use
slug: homologacao-atmosphere/allow-or-deny-server-use
description: Learn about the parameters and examples for granting or restricting server usage in this comprehensive document. Utilizing the Shell module, it outlines the specific parameters involved and offers a practical demonstration. Discover the various outcomes, 
createdAt: 2022-07-26T13:46:59.000Z
---

## Resumo

- Permitir ou negar o uso do servidor

## 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 -P {{ input.table }} {{ 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            |

