diff options
Diffstat (limited to 'roles/fedora/tasks')
-rw-r--r-- | roles/fedora/tasks/hostname.yml | 2 | ||||
-rw-r--r-- | roles/fedora/tasks/locale.yml | 2 | ||||
-rw-r--r-- | roles/fedora/tasks/timezone.yml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/roles/fedora/tasks/hostname.yml b/roles/fedora/tasks/hostname.yml index f9bf0c1..6709c03 100644 --- a/roles/fedora/tasks/hostname.yml +++ b/roles/fedora/tasks/hostname.yml @@ -5,7 +5,7 @@ when: not chroot - name: '- when in chroot' copy: - dest: /etc/hostname + dest: '/etc/hostname' content: "{{ hostname }}\n" owner: root group: root diff --git a/roles/fedora/tasks/locale.yml b/roles/fedora/tasks/locale.yml index d578a40..a96d6ba 100644 --- a/roles/fedora/tasks/locale.yml +++ b/roles/fedora/tasks/locale.yml @@ -1,8 +1,8 @@ --- - name: Setting default locales template: + dest: '/etc/locale.conf' src: locale.conf.j2 - dest: /etc/locale.conf owner: root group: root mode: 0644 diff --git a/roles/fedora/tasks/timezone.yml b/roles/fedora/tasks/timezone.yml index 05a9165..90c2344 100644 --- a/roles/fedora/tasks/timezone.yml +++ b/roles/fedora/tasks/timezone.yml @@ -2,8 +2,8 @@ - name: Create /etc/localtime file: path: '/etc/localtime' - state: link src: '../usr/share/zoneinfo/{{ timezone }}' + state: link force: yes # vim: set ts=2 sw=2 et: |