ansible-debian/tasks/config.yml

25 lines
No EOL
550 B
YAML

- name: set hostname
hostname:
name: "{{ inventory_hostname }}"
use: debian
- name: copy base configs
copy:
src: etc/apt/apt.conf.d/20auto-upgrades
dest: /etc/apt/apt.conf.d/20auto-upgrades
- name: set local timezone
file:
state: link
src: /usr/share/zoneinfo/Europe/Berlin
dest: /etc/localtime
- name: Ensure the US locale exists
community.general.locale_gen:
name: en_US.UTF-8
state: present
- name: Ensure the DE locale exists
community.general.locale_gen:
name: de_DE.UTF-8
state: present