You cannot set systemd hostname in chroot
This commit is contained in:
parent
4091370242
commit
96adeb78e2
|
@ -7,8 +7,6 @@ user:
|
|||
shell: /bin/zsh
|
||||
country: Netherlands
|
||||
|
||||
hostname: archie
|
||||
|
||||
pacman:
|
||||
parallel_downloads: 10
|
||||
|
||||
|
|
|
@ -4,9 +4,3 @@
|
|||
that: ansible_distribution == "Archlinux"
|
||||
fail_msg: "Distribution '{{ ansible_distribution }}' is not supported."
|
||||
success_msg: "I run Arch, btw"
|
||||
|
||||
- name: Set hostname to {{ hostname }}
|
||||
ansible.builtin.hostname:
|
||||
name: "{{ hostname }}"
|
||||
use: systemd
|
||||
become: true
|
Loading…
Reference in New Issue
Block a user