aboutsummaryrefslogblamecommitdiffstats
path: root/roles/fedora/tasks/timezone.yml
blob: efe6546151e242300fdbc82db76f871b96de4403 (plain) (tree)
1
2
3
4
5
6
7
8
9
   




                          

                          
                                               
               
              
                   

                        
---
- 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|bool

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