---
title: Listing the active zone
slug: homologacao-atmosphere/listing-the-active-zone
description: Learn about the "Shell" module in this comprehensive summary. Discover its parameters, examples, and the valuable values it returns. Gain insights into the execution output, error and warning statuses, as well as any generated error messages or warnings.
createdAt: 2022-07-26T13:51:52.000Z
---

## Resumo

- Listar tudo da zona ativa

## Parâmetros

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

## Exemplos

```yaml
- shell: 
    arguments: sudo firewall-cmd --get-active-zones
  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            |

