diff options
-rw-r--r-- | setup-dev-tools/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/setup-dev-tools/tasks/main.yml b/setup-dev-tools/tasks/main.yml index c3057e8..000c197 100644 --- a/setup-dev-tools/tasks/main.yml +++ b/setup-dev-tools/tasks/main.yml @@ -1,4 +1,11 @@ --- +- name: Enable powerTools in CentOS 8 + command: dnf config-manager --set-enabled PowerTools + when: + - ansible_distribution == "CentOS" + - ansible_distribution_major_version == "8" + + # Get packages names for the target distro - include: tasks/distro.yml @@ -8,3 +15,4 @@ name: "{{ item }}" state: present with_items: "{{ pkgnames }}" + |