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

0-init/tasks/hostname.yml: Verbiage simplified for newcomers

This commit is contained in:
A Holt 2021-08-31 00:11:53 -04:00 committed by GitHub
parent 9106cfbdf0
commit 1e71070341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@
state: present state: present
when: cloudcfg_test.stat.exists when: cloudcfg_test.stat.exists
- name: 'Turn the crank for systemd: 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 }}"
# 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 }}"