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"
|
command: "restorecon -vvRF /var/lib/pgsql"
|
||||||
when: pgsql_ls.stdout is defined and 'postgresql_db_t' not in pgsql_ls.stdout
|
when: pgsql_ls.stdout is defined and 'postgresql_db_t' not in pgsql_ls.stdout
|
||||||
|
|
||||||
- name: install python2-modulemd
|
- name: install copr-frontend and copr-selinux
|
||||||
shell: yum-deprecated install -y python2-modulemd || yum install -y python2-modulemd
|
dnf: state=latest name={{ item }}
|
||||||
|
with_items:
|
||||||
|
- copr-frontend
|
||||||
|
- copr-selinux
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
|
||||||
# BZ 1241507
|
- name: install additional pkgs for copr-frontend
|
||||||
- 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
|
|
||||||
dnf: state=present pkg={{ item }}
|
dnf: state=present pkg={{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
- "copr-frontend"
|
|
||||||
- "bash-completion"
|
- "bash-completion"
|
||||||
- "mod_ssl"
|
- "mod_ssl"
|
||||||
- redis
|
- redis
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue