---
title: Show Rules ID
slug: homologacao-atmosphere/show-rules-id
description: Learn about the code rules and parameters in the Shell module with this comprehensive summary. Discover how to effectively utilize the module through a practical example and gain insights into the various values returned, including output, errors, and war
createdAt: 2022-07-26T13:46:55.000Z
---

## Resumo

- Mostrar código das regras

## Parâmetros

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

## Exemplos

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

