aboutsummaryrefslogtreecommitdiffstats
path: root/roles/fedora/tasks
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-09-25 20:51:37 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-09-25 21:05:52 +0200
commit32d08914580a084c47a087704efece93bd790f0c (patch)
tree45879c6c8d8853ae8ebbb004860f08b27d59d1e3 /roles/fedora/tasks
parent91b2e28e5252413b8cd74c670bcec50503138cfb (diff)
downloadlabitat-ansible-32d08914580a084c47a087704efece93bd790f0c.tar.gz
labitat-ansible-32d08914580a084c47a087704efece93bd790f0c.tar.xz
labitat-ansible-32d08914580a084c47a087704efece93bd790f0c.zip
Keep consistent ordering of rules
Do - name: ... module: dest/path: 'destination on target' src: ... state: ... owner: ... group: ... mode: ... with_*: ... notify: ... tags: ...
Diffstat (limited to 'roles/fedora/tasks')
-rw-r--r--roles/fedora/tasks/hostname.yml2
-rw-r--r--roles/fedora/tasks/locale.yml2
-rw-r--r--roles/fedora/tasks/timezone.yml2
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: