Skip to content

Commit 73cf6d9

Browse files
committed
Set hostname
1 parent f935482 commit 73cf6d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tasks/server.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@
2323
owner: root
2424
group: root
2525
mode: '0644'
26+
27+
- name: Set hostname
28+
ansible.builtin.hostname:
29+
name: "{{ ansible_hostname }}"

0 commit comments

Comments
 (0)