Remove hostname and timezone, cloud-init does that

This commit is contained in:
Sam A. 2023-12-25 20:35:49 +01:00
parent e75a5364df
commit 7b3decdf07
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -1,14 +1,6 @@
# vim: ft=yaml.ansible # vim: ft=yaml.ansible
# code: language=ansible # code: language=ansible
--- ---
- name: Set hostname
ansible.builtin.hostname:
name: "{{ hostname }}"
- name: Set timezone
community.general.timezone:
name: "{{ timezone }}"
- name: Copy hosts file - name: Copy hosts file
ansible.builtin.template: ansible.builtin.template:
src: hosts.j2 src: hosts.j2