From d6374f72cae3d578034797b8121c9fae7db97de1 Mon Sep 17 00:00:00 2001 From: Finn Date: Mon, 5 Aug 2024 14:20:10 -0700 Subject: [PATCH] Ansible: Configure timezone --- roles/base/tasks/main.yml | 4 ++++ roles/k8s-node/templates/traefik-config.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 78a08da..d6d3a44 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -1,3 +1,7 @@ +- name: set the timezone + timezone: + name: America/Los_Angeles + - name: install common packages apt: name: [mosh, htop, tmux, unattended-upgrades] diff --git a/roles/k8s-node/templates/traefik-config.yaml b/roles/k8s-node/templates/traefik-config.yaml index 88e27e9..6e9508b 100644 --- a/roles/k8s-node/templates/traefik-config.yaml +++ b/roles/k8s-node/templates/traefik-config.yaml @@ -18,11 +18,11 @@ spec: proxyProtocol: trustedIPs: - 10.5.1.245/32 + - 10.5.1.1/32 - 10.42.0.0/16 # traffic getting redirected from other nodes additionalArguments: - --providers.file.directory=/file-configs - --providers.file.watch=true - - --providers.file.debugLogGeneratedTemplate=true volumes: - name: traefik-additional-configs mountPath: /file-configs