---
title: State
slug: homologacao-atmosphere/state
description: Learn about the state of firewalld and the parameters in the Shell module with this comprehensive document. Discover how to utilize the Shell module to check firewalld's status, and explore the key values returned such as output, errors, output errors, an
createdAt: 2022-07-26T13:52:00.000Z
---

## Resumo

- Estado do firewalld

## Parâmetros

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

## Exemplos

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

