Loading inventory/group_vars/all.yml +5 −1 Original line number Diff line number Diff line --- k3s_version: v1.17.5+k3s1 ansible_user: debian ansible_user: pi 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 roles/prereq/handlers/main.yml 0 → 100644 +5 −0 Original line number Diff line number Diff line --- - name: restart cron service: name: cron state: restarted roles/prereq/tasks/main.yml +6 −0 Original line number Diff line number Diff line Loading @@ -50,3 +50,9 @@ 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 Loading
inventory/group_vars/all.yml +5 −1 Original line number Diff line number Diff line --- k3s_version: v1.17.5+k3s1 ansible_user: debian ansible_user: pi 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
roles/prereq/handlers/main.yml 0 → 100644 +5 −0 Original line number Diff line number Diff line --- - name: restart cron service: name: cron state: restarted
roles/prereq/tasks/main.yml +6 −0 Original line number Diff line number Diff line Loading @@ -50,3 +50,9 @@ 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