mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Merge pull request #679 from holta/0-init
FQDN fix in 0-init/tasks/hostname.yml
This commit is contained in:
commit
3af9836c9c
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@
|
||||||
- name: Configure short hostname in /etc/hosts
|
- name: Configure short hostname in /etc/hosts
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/hosts
|
dest: /etc/hosts
|
||||||
regexp: "^127\.0\.0\.1"
|
regexp: '^127\.0\.0\.1'
|
||||||
line: "127.0.0.1 localhost.localdomain localhost box {{ iiab_hostname }}"
|
line: '127.0.0.1 localhost.localdomain localhost box {{ iiab_hostname }}'
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
Loading…
Reference in a new issue