---
title: Changing the default zone
slug: homologacao-atmosphere/changing-the-default-zone
description: Learn how to change the default zone in your system with this comprehensive document. It covers essential parameters like the zone name and provides practical examples for module usage. Discover how this process integrates with the Shell module and gain i
createdAt: 2022-07-26T13:51:58.000Z
---

## Resumo

- Alterando a zona padrão

## Parâmetros

| **Parâmetro** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários** |
| ------------- | -------- | ---------------------------- | --------------- |
| zone\_name    | string   |                              | Nome da zona    |

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

## Exemplos

```yaml
- shell: 
    arguments: sudo firewall-cmd --set-default-zone={{ input.zone_name }}
  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            |

