From 4d14d4d49f8d475a3eec564f471b04da1c84a9b5 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Tue, 29 Mar 2022 15:58:04 -0400 Subject: [PATCH] add vars file for tumbleweed; sadly version changes with zypper dup which breaks us; galaxy bump --- galaxy.yml | 2 +- roles/base_packages/tasks/main.yml | 2 +- .../vars/opensuse_tumbleweed_20220324.yml | 22 +++++++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 roles/base_packages/vars/opensuse_tumbleweed_20220324.yml diff --git a/galaxy.yml b/galaxy.yml index 033e0f9..40e3fa3 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -8,7 +8,7 @@ namespace: jchristianh name: baseos # The version of the collection. Must be compatible with semantic versioning -version: 1.0.3 +version: 1.0.4 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/roles/base_packages/tasks/main.yml b/roles/base_packages/tasks/main.yml index 9dafa37..6e0bc69 100644 --- a/roles/base_packages/tasks/main.yml +++ b/roles/base_packages/tasks/main.yml @@ -3,7 +3,7 @@ block: - name: Include distribution specific variables include_vars: - file: "{{ ansible_distribution | lower }}_{{ ansible_distribution_major_version }}.yml" + file: "{{ ansible_distribution | regex_replace('\\s+', '_') | lower }}_{{ ansible_distribution_major_version }}.yml" rescue: - name: Non-supported distribution; using default package set diff --git a/roles/base_packages/vars/opensuse_tumbleweed_20220324.yml b/roles/base_packages/vars/opensuse_tumbleweed_20220324.yml new file mode 100644 index 0000000..8eeae2c --- /dev/null +++ b/roles/base_packages/vars/opensuse_tumbleweed_20220324.yml @@ -0,0 +1,22 @@ +--- +__base_packages: + - bc + - bzip2 + - file + - ftp + - git + - iptraf + - mlocate + - lsof + - rsync + - sudo + - tar + - tcpdump + - telnet + - traceroute + - tree + - unzip + - wget + - whois + - zip +