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: ...@@ -6,7 +6,7 @@ clean:
find . -type f -name "*.orig" -delete find . -type f -name "*.orig" -delete
open_all: open_all:
${EDITOR} .gitignore inventory Makefile README.md ${EDITOR} .gitignore inv* Makefile README.md
${EDITOR} tasks/*.yml ${EDITOR} tasks/*.yml
${EDITOR} tasks/files/sshd_config ${EDITOR} tasks/files/sshd_config
${EDITOR} tasks/system_cfg/*.yml ${EDITOR} tasks/system_cfg/*.yml
......
...@@ -14,3 +14,9 @@ ...@@ -14,3 +14,9 @@
localhost localhost
192.168.1.11 192.168.1.11
192.168.1.22 192.168.1.22
[server:vars]
timezone="UTC"
[workstation:vars]
timezone="Europe/Paris"
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
- name: NTP | INCLUDE_VARS - name: NTP | INCLUDE_VARS
ansible.builtin.include_vars: "vars.yml" ansible.builtin.include_vars: "vars.yml"
- name: "NTP | set timezone to {{ timezone }}"
community.general.timezone:
name: "{{ timezone }}"
- name: NTP | install NTP daemon - name: NTP | install NTP daemon
ansible.builtin.apt: ansible.builtin.apt:
pkg: openntpd 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