base: Make sure OpenBSD hostname is updated

This commit is contained in:
Timo Makinen 2025-07-16 17:48:53 +00:00
parent df5ecb1a04
commit 14c421a81c
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,6 @@
---
- name: Update hostname
ansible.builtin.command:
argv:
- hostname
- "{{ inventory_hostname }}"

View file

@ -6,6 +6,7 @@
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Update hostname
- name: Configure mirror for packages and updates
ansible.builtin.copy: