Compare commits

..

2 Commits

Author SHA1 Message Date
Lukas Greve
517bd5321b fix other regression 2025-11-02 11:21:25 +01:00
Lukas Greve
d68ca406e2 fix regression 2025-11-02 11:21:12 +01:00
2 changed files with 11 additions and 4 deletions

View File

@@ -1,7 +1,9 @@
---
- name: Initial generic setup - name: Initial generic setup
hosts: gitrunner hosts: gitrunner
become: yes become: yes
gather_facts: yes
tasks: tasks:
- name: Install required packages - name: Install required packages
yum: yum:
@@ -10,6 +12,7 @@
- nodejs - nodejs
- mock - mock
state: present state: present
update_cache: yes
- name: Check current hostname - name: Check current hostname
command: hostname command: hostname
@@ -18,5 +21,6 @@
- name: Set hostname to configured value (if needed) - name: Set hostname to configured value (if needed)
hostname: hostname:
name: fedora-rawhide10 name: fedora-rawhide
when: current_hostname.stdout != ansible_hostname when:
- current_hostname.stdout != "fedora-rawhide"

View File

@@ -1,3 +1,6 @@
# This file defines targets (hosts, groups, host-specific variables) # This file defines targets (hosts, groups, host-specific variables)
[all] [all]
fedora-rawhide10 ansible_host=10.17.3.179 ansible_user=groot ansible_become=true ansible_python_interpreter=/usr/bin/python3.12 10.17.3.248 ansible_user=groot ansible_become=true ansible_python_interpreter=/usr/bin/python3
[gitrunner]
10.17.3.248