Rename roles according to ansible recommendations

This commit is contained in:
Timo Makinen 2022-01-29 23:53:32 +00:00
parent ce37f81e76
commit bc5eda7487
17 changed files with 8 additions and 8 deletions

View file

@ -0,0 +1,21 @@
---
- name: check if repository is enabled
command:
argv:
- dnf
- config-manager
- --dump
- powertools
warn: false
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"