ansible role - debian_timezone

main
Badanin Maksim 3 years ago
commit b8c9f5fb7f

@ -0,0 +1,44 @@
Role Name
=========
Изменяет часовой пояс в Debian дистрибутивах
Requirements
------------
Отсутствует
Role Variables
--------------
debain_timezone - Задает параметры часового пояса. По умолчанию - Europe/Moscow
Dependencies
------------
Отсутствуют
Example Playbook
----------------
Пример использования:
- hosts: servers
roles:
- debain_timezone
- hosts: servers
roles:
- role: debain_timezone
vars:
debain_timezone: "Europe/Moscow"
License
-------
BSD
Author Information
------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed).

@ -0,0 +1,3 @@
---
# defaults file for debian_timezone
debian_timezone: "Europe/Moscow"

@ -0,0 +1,10 @@
galaxy_info:
author: Badanin Maksim
description: Setup timezone
company: bms
license: GPLv2 or later
min_ansible_version: 2.10
galaxy_tags:
- debian
- timezone
dependencies: []

@ -0,0 +1,5 @@
---
# Устанавливаем часовой пояс
- name: Set timezone
community.general.timezone:
name: "{{ debian_timezone }}"
Loading…
Cancel
Save