---
title: List Rules
slug: homologacao-atmosphere/list-rules
description: Learn about the parameters, examples, and returned values of the "Shell" module in this comprehensive document. Discover how this module leverages parameters from the Shell module to execute commands effectively. Explore practical examples to understand i
createdAt: 2022-07-26T13:46:54.000Z
---

## Resumo

- Listar regras

## Parâmetros

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

## Exemplos

```yaml
- shell: 
    arguments: sudo iptables -L
  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            |

