Skip to content

Commit 3ef53b1

Browse files
committed
use hammer copr on el10
1 parent d57323c commit 3ef53b1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

development/playbooks/setup-repositories/setup-repositories.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,30 @@
99
name: theforeman.operations.openvox_repositories
1010
vars:
1111
foreman_openvox_repositories_version: "8"
12+
when:
13+
- ansible_distribution_major_version == '9'
1214

1315
- name: Setup Foreman repositories
1416
ansible.builtin.include_role:
1517
name: theforeman.operations.foreman_repositories
1618
vars:
1719
foreman_repositories_version: nightly
1820
foreman_repositories_katello_version: nightly
21+
when:
22+
- ansible_distribution_major_version == '9'
23+
24+
- name: Enable epel
25+
ansible.builtin.package:
26+
name: epel-release
27+
state: installed
28+
when:
29+
- ansible_distribution_major_version == '9'
30+
31+
- name: Enable hammer-el10 copr
32+
community.general.copr:
33+
host: copr.fedorainfracloud.org
34+
state: enabled
35+
name: evgeni/hammer-el10
36+
chroot: rhel-10-x86_64
37+
when:
38+
- ansible_distribution_major_version == '9'

0 commit comments

Comments
 (0)