From 517bd5321b8c28510be889b4190d05d45a75c1df Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Sun, 2 Nov 2025 11:21:25 +0100 Subject: [PATCH] fix other regression --- host_setup.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/host_setup.yml b/host_setup.yml index f30591c..8c7078c 100644 --- a/host_setup.yml +++ b/host_setup.yml @@ -1,7 +1,9 @@ +--- - name: Initial generic setup hosts: gitrunner become: yes - + gather_facts: yes + tasks: - name: Install required packages yum: @@ -10,6 +12,7 @@ - nodejs - mock state: present + update_cache: yes - name: Check current hostname command: hostname @@ -18,5 +21,6 @@ - name: Set hostname to configured value (if needed) hostname: - name: fedora-rawhide10 - when: current_hostname.stdout != ansible_hostname \ No newline at end of file + name: fedora-rawhide + when: + - current_hostname.stdout != "fedora-rawhide" \ No newline at end of file