aboutsummaryrefslogtreecommitdiffstats
path: root/roles/fedora/tasks/timezone.yml
blob: a917dd4ada4d36bab4e03e7bbc063441b766ec24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Configure timezone
  timezone:
    name: '{{ timezone }}'
  when: not chroot
- name: '- when in chroot'
  file:
    path: '/etc/localtime'
    src: '../usr/share/zoneinfo/{{ timezone }}'
    state: link
    force: yes
  when: chroot

# vim: set ts=2 sw=2 et: