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:
- en_US.UTF-8 UTF-8
@ -32,6 +33,7 @@ pacman_ignorepkg: []
pacman_parallel_downloads: 2
common_packages:
- less
- bash-completion
- htop
- nano

View File

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