diff options
Diffstat (limited to 'ansible/roles/timezone')
-rw-r--r-- | ansible/roles/timezone/handlers/main.yml | 2 | ||||
-rw-r--r-- | ansible/roles/timezone/tasks/main.yml | 12 |
2 files changed, 5 insertions, 9 deletions
diff --git a/ansible/roles/timezone/handlers/main.yml b/ansible/roles/timezone/handlers/main.yml index 0bd7c0d..daf0f5f 100644 --- a/ansible/roles/timezone/handlers/main.yml +++ b/ansible/roles/timezone/handlers/main.yml @@ -1,5 +1,3 @@ --- - name: reconfigure tzdata shell: dpkg-reconfigure -f noninteractive tzdata - - diff --git a/ansible/roles/timezone/tasks/main.yml b/ansible/roles/timezone/tasks/main.yml index 0a7744a..1279897 100644 --- a/ansible/roles/timezone/tasks/main.yml +++ b/ansible/roles/timezone/tasks/main.yml @@ -1,10 +1,8 @@ --- - tags: - timezone - block: - - become: yes - file: - src: /usr/share/zoneinfo/Europe/Oslo - dest: /etc/localtime - state: link - notify: reconfigure tzdata + file: + src: /usr/share/zoneinfo/Europe/Oslo + dest: /etc/localtime + state: link + notify: reconfigure tzdata |