Add hostname configuration

master
Oleg "Zmey!" Vasiliev 2023-10-05 23:56:20 +03:00
parent 0f804bce19
commit bccd836e3d
2 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,8 @@
--- ---
# https://sourceware.org/glibc/wiki/Locales common_hostname: "{{ ansible_hostname }}"
# https://sourceware.org/glibc/wiki/Locales
system_locales: system_locales:
- en_US.UTF-8 UTF-8 - en_US.UTF-8 UTF-8
@ -32,6 +33,7 @@ pacman_ignorepkg: []
pacman_parallel_downloads: 2 pacman_parallel_downloads: 2
common_packages: common_packages:
- less
- bash-completion - bash-completion
- htop - htop
- nano - nano

View File

@ -1,5 +1,9 @@
--- ---
- name: Common | Set hostname
hostname:
name: "{{ common_hostname }}"
- name: Common | Set available locales - name: Common | Set available locales
template: template:
src: locale.gen.j2 src: locale.gen.j2