summaryrefslogtreecommitdiffstats
path: root/roles/os_env_extras
diff options
context:
space:
mode:
Diffstat (limited to 'roles/os_env_extras')
-rw-r--r--roles/os_env_extras/tasks/main.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/os_env_extras/tasks/main.yaml b/roles/os_env_extras/tasks/main.yaml
index 96b12ad5b..29599559c 100644
--- a/roles/os_env_extras/tasks/main.yaml
+++ b/roles/os_env_extras/tasks/main.yaml
@@ -15,3 +15,10 @@
yum:
pkg: bash-completion
state: installed
+ when: ansible_pkg_mgr == "yum"
+
+- name: Bash Completion
+ dnf:
+ pkg: bash-completion
+ state: installed
+ when: ansible_pkg_mgr == "dnf"