From f550339428088dc32a21bc9f552c089e0b2ef057 Mon Sep 17 00:00:00 2001 From: Aaron Hicks Date: Wed, 10 Feb 2021 14:16:31 +1300 Subject: [PATCH 1/2] Just allow it... --- meta/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index f39e19e..ce6ccf0 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -17,7 +17,7 @@ galaxy_info: min_ansible_version: 2.4 # # Below are all platforms currently available. Just uncomment - # the ones that apply to your role. If you don't see your + # the ones that apply to your role. If you don't see your # platform on this list, let us know and we'll get it added! # platforms: @@ -27,6 +27,7 @@ galaxy_info: # - 5 - 6 - 7 + - 8 #- name: GenericUNIX # versions: # - all @@ -137,4 +138,4 @@ dependencies: [] # List your role dependencies here, one per line. # Be sure to remove the '[]' above if you add dependencies # to this list. - + From ecaf5fd29805a62875ec2a60f2a1dc9f12aa3e95 Mon Sep 17 00:00:00 2001 From: Aaron Hicks Date: Wed, 10 Feb 2021 14:37:38 +1300 Subject: [PATCH 2/2] dnf is kinda like yum... --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 28625de..66760f6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,7 +10,7 @@ - block: - include_tasks: configure_yum.yml - when: ansible_pkg_mgr == 'yum' + when: ansible_pkg_mgr in ['yum', 'dnf'] - include_tasks: configure_apt.yml when: ansible_pkg_mgr == 'apt'