From 333279f7b105e61a9e2aeccc0912cc10e9ced118 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Sat, 4 May 2024 15:22:58 -0500 Subject: [PATCH] Fix lint issue and test Debian 12 again. --- .github/workflows/ci.yml | 2 +- tasks/main.yml | 2 +- vars/{Debian_12.yml => Debian-12.yml} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename vars/{Debian_12.yml => Debian-12.yml} (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e62fa5..5c49051 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: - rockylinux8 - ubuntu2204 - ubuntu2004 - # - debian12 # Having weird idempotence issue. + - debian12 - debian11 steps: diff --git a/tasks/main.yml b/tasks/main.yml index 6af64f6..a6de3d5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,7 +2,7 @@ - name: Include OS-specific variables. include_vars: "{{ item }}" with_first_found: - - "{{ ansible_facts['os_family'] + '_' + ansible_facts['distribution_major_version'] }}.yml" + - "{{ ansible_facts['os_family'] + '-' + ansible_facts['distribution_major_version'] }}.yml" - "{{ ansible_facts['os_family'] }}.yml" - name: Set the ntp_driftfile variable. diff --git a/vars/Debian_12.yml b/vars/Debian-12.yml similarity index 100% rename from vars/Debian_12.yml rename to vars/Debian-12.yml