powertools-repo: Move to submodule software

This commit is contained in:
Timo Makinen 2021-09-01 14:22:11 +00:00
parent 6815eca627
commit 0814f1b82a

View file

@ -1,18 +0,0 @@
---
- name: check if repository is enabled
command:
argv:
- cat
- /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
changed_when: false
register: result
- name: enable repository
command:
argv:
- dnf
- config-manager
- --set-enabled
- powertools
warn: false
when: "'enabled=1' not in result.stdout_lines"