Skip to content

Commit b966a09

Browse files
committed
Fix indentation in hosts file
1 parent 5ebc369 commit b966a09

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎roles/set-hostname/tasks/main.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
- name: Set hostname of machine to name specified in ansible inventory
43
become: true
54
ansible.builtin.hostname:
@@ -10,4 +9,4 @@
109
ansible.builtin.lineinfile:
1110
path: /etc/hosts
1211
regexp: '^127\.0\.0\.1'
13-
line: "127.0.0.1 localhost {{ inventory_hostname }}"
12+
line: "127.0.0.1 localhost {{ inventory_hostname }}"

0 commit comments

Comments
 (0)