powertools-repo: Move to submodule software
This commit is contained in:
parent
6815eca627
commit
0814f1b82a
1 changed files with 0 additions and 18 deletions
|
@ -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"
|
|
Loading…
Add table
Reference in a new issue