copr-frontend: user dnf ansible module instead of yum-deprecated shell command
This commit is contained in:
parent
cede7a1977
commit
d3a7276de4
1 changed files with 8 additions and 10 deletions
|
@ -8,19 +8,17 @@
|
|||
command: "restorecon -vvRF /var/lib/pgsql"
|
||||
when: pgsql_ls.stdout is defined and 'postgresql_db_t' not in pgsql_ls.stdout
|
||||
|
||||
- name: install python2-modulemd
|
||||
shell: yum-deprecated install -y python2-modulemd || yum install -y python2-modulemd
|
||||
- name: install copr-frontend and copr-selinux
|
||||
dnf: state=latest name={{ item }}
|
||||
with_items:
|
||||
- copr-frontend
|
||||
- copr-selinux
|
||||
tags:
|
||||
- packages
|
||||
|
||||
# BZ 1241507
|
||||
- name: install copr-frontend
|
||||
shell: yum-deprecated install -y copr-frontend || yum install -y copr-frontend
|
||||
- name: install copr-selinux
|
||||
shell: yum-deprecated install -y copr-selinux || yum install -y copr-selinux
|
||||
|
||||
- name: install pkgs for copr-frontend
|
||||
- name: install additional pkgs for copr-frontend
|
||||
dnf: state=present pkg={{ item }}
|
||||
with_items:
|
||||
- "copr-frontend"
|
||||
- "bash-completion"
|
||||
- "mod_ssl"
|
||||
- redis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue