---
title: Displaying the currently active zone
slug: homologacao-atmosphere/displaying-the-currently-active-zone
description: Learn about the Shell module, its parameters, examples, and returned values in this comprehensive document. Discover how this module helps display the active zone and explore a YAML example. Find valuable information on execution output, error handling, a
createdAt: 2022-07-26T13:51:56.000Z
---

## Resumo

- Exibindo a zona atualmente ativa

## Parâmetros

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

## Exemplos

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

