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:
parent
5dc9ca1783
commit
ec8a8ba78a
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
- name: 'Set /etc/hostname by running: hostnamectl set-hostname "{{ iiab_hostname }}"'
|
- name: 'Set /etc/hostname by running: hostnamectl set-hostname "{{ iiab_hostname }}"'
|
||||||
command: 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)
|
# 2021-08-31: Periods in /etc/hostname fail with some WiFi routers (#2904)
|
||||||
# command: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"
|
# command: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue