1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

ansible_is_chroot

This commit is contained in:
Jerry Vonau 2021-10-29 11:22:42 -05:00
parent 5dc9ca1783
commit ec8a8ba78a

View file

@ -13,6 +13,7 @@
- name: 'Set /etc/hostname by running: hostnamectl set-hostname "{{ iiab_hostname }}"'
command: hostnamectl set-hostname "{{ iiab_hostname }}"
when: not ansible_is_chroot
# 2021-08-31: Periods in /etc/hostname fail with some WiFi routers (#2904)
# command: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"