Skip to content

Commit 5fd6f44

Browse files
committed
use hammer copr on el10
1 parent 4d319d9 commit 5fd6f44

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,23 @@
99
name: theforeman.operations.puppet_repositories
1010
vars:
1111
foreman_puppet_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 hammer-el10 copr
25+
community.general.copr:
26+
host: copr.fedorainfracloud.org
27+
state: enabled
28+
name: evgeni/hammer-el10
29+
chroot: rhel-10-x86_64
30+
when:
31+
- ansible_distribution_major_version == '10'

0 commit comments

Comments
 (0)