updating taskotron roles to use dnf for f22+, variable for repos
This commit is contained in:
parent
3f3709c369
commit
bdbf4f8615
11 changed files with 98 additions and 35 deletions
|
@ -1,8 +1,16 @@
|
|||
- name: ensure grokmirror packages are installed
|
||||
action: yum name={{ item }} state=latest
|
||||
yum: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
|
||||
with_items:
|
||||
- git
|
||||
- python-grokmirror
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: ensure grokmirror packages are installed
|
||||
dnf: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
|
||||
with_items:
|
||||
- git
|
||||
- python-grokmirror
|
||||
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: create grokmirror user
|
||||
user: name={{ grokmirror_user }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue