diff --git a/defaults/main.yml b/defaults/main.yml index e295a0b..3723e92 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/tasks/main.yml b/tasks/main.yml index a7016e2..17ff1ee 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,5 +1,9 @@ --- +- name: Common | Set hostname + hostname: + name: "{{ common_hostname }}" + - name: Common | Set available locales template: src: locale.gen.j2