Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 8aa21294 authored by Freezed's avatar Freezed
Browse files

:globe_with_meridians: Add timezone config & clock update

parent ecfe7c2f
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ clean:
find . -type f -name "*.orig" -delete
open_all:
${EDITOR} .gitignore inventory Makefile README.md
${EDITOR} .gitignore inv* Makefile README.md
${EDITOR} tasks/*.yml
${EDITOR} tasks/files/sshd_config
${EDITOR} tasks/system_cfg/*.yml
......
......@@ -14,3 +14,9 @@
localhost
192.168.1.11
192.168.1.22
[server:vars]
timezone="UTC"
[workstation:vars]
timezone="Europe/Paris"
......@@ -3,6 +3,10 @@
- name: NTP | INCLUDE_VARS
ansible.builtin.include_vars: "vars.yml"
- name: "NTP | set timezone to {{ timezone }}"
community.general.timezone:
name: "{{ timezone }}"
- name: NTP | install NTP daemon
ansible.builtin.apt:
pkg: openntpd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment