From 60756934811b78a69991030b200dde07d8fceba2 Mon Sep 17 00:00:00 2001 From: David Putzolu Date: Sun, 31 May 2020 10:16:09 -0700 Subject: [PATCH] Remove timezone changes to focus branch on just ubuntu --- inventory/group_vars/all.yml | 6 +----- roles/prereq/tasks/main.yml | 6 ------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/inventory/group_vars/all.yml b/inventory/group_vars/all.yml index d77779d..196170e 100644 --- a/inventory/group_vars/all.yml +++ b/inventory/group_vars/all.yml @@ -1,10 +1,6 @@ --- k3s_version: v1.17.5+k3s1 -ansible_user: pi +ansible_user: debian systemd_dir: /etc/systemd/system master_ip: "{{ hostvars[groups['master'][0]]['ansible_host'] | default(groups['master'][0]) }}" extra_server_args: "" - -# Uncomment (and modify if necessary) the following to set the time zone set for -# all members of the cluster. -timezone: US/Pacific diff --git a/roles/prereq/tasks/main.yml b/roles/prereq/tasks/main.yml index 33510b8..7f80afc 100644 --- a/roles/prereq/tasks/main.yml +++ b/roles/prereq/tasks/main.yml @@ -50,9 +50,3 @@ path: /etc/sudoers validate: 'visudo -cf %s' when: ansible_distribution in ['CentOS', 'Red Hat Enterprise Linux'] - -- name: "set timezone to {{ timezone }}" - timezone: - name: "{{ timezone }}" - notify: restart cron - when: timezone is defined