diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-03 15:58:29 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-03 21:09:55 +0200 |
commit | 4f98942a50341c2827ace103f153374f0b351135 (patch) | |
tree | d96a2e0880108ce20cee56a4a6daf86787cb4097 | |
parent | 60226e39b6c22b181c5c6a11d868eab361217eb4 (diff) | |
download | labitat-ansible-4f98942a50341c2827ace103f153374f0b351135.tar.gz labitat-ansible-4f98942a50341c2827ace103f153374f0b351135.tar.xz labitat-ansible-4f98942a50341c2827ace103f153374f0b351135.zip |
all: add site-wide locale/timezone default
-rw-r--r-- | group_vars/all | 11 | ||||
-rw-r--r-- | roles/space_server/defaults/main.yml | 7 | ||||
-rw-r--r-- | roles/space_server/vars/main.yml | 8 |
3 files changed, 20 insertions, 6 deletions
diff --git a/group_vars/all b/group_vars/all new file mode 100644 index 0000000..59c098c --- /dev/null +++ b/group_vars/all @@ -0,0 +1,11 @@ +--- +locale: + generated: # must be sorted + - da_DK.UTF-8 UTF-8 + - en_US.UTF-8 UTF-8 + default: + LANG: 'en_US.UTF-8' + +timezone: 'Europe/Copenhagen' + +# vim: set ft=yaml ts=2 sw=2 et: diff --git a/roles/space_server/defaults/main.yml b/roles/space_server/defaults/main.yml index da80c56..cd958a0 100644 --- a/roles/space_server/defaults/main.yml +++ b/roles/space_server/defaults/main.yml @@ -1,11 +1,6 @@ --- hostname: 'space' -locale: - default: - LANG: 'da_DK.UTF-8' - LC_COLLATE: 'C' - LC_MESSAGES: 'C' -timezone: 'Europe/Copenhagen' + dnf_conf: 'main.install_weak_deps': 'False' 'main.best': 'True' diff --git a/roles/space_server/vars/main.yml b/roles/space_server/vars/main.yml new file mode 100644 index 0000000..0ed2af0 --- /dev/null +++ b/roles/space_server/vars/main.yml @@ -0,0 +1,8 @@ +--- +locale: + default: + LANG: 'da_DK.UTF-8' + LC_COLLATE: 'C' + LC_MESSAGES: 'C' + +# vim: set ts=2 sw=2 et: |