Add new task for hostname #248

This commit is contained in:
kim 2024-04-17 17:16:52 +02:00
parent 58abaf0d47
commit 310253a661
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,8 @@
- name: set hostname
hostname:
name: "{{ inventory_hostname }}"
use: debian
- name: copy base configs
copy:
src: etc/apt/apt.conf.d/20auto-upgrades
@ -17,5 +22,4 @@
- name: Ensure the DE locale exists
community.general.locale_gen:
name: de_DE.UTF-8
state: present
state: present