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. - + 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'