File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
pull_request_rules :
2
2
# Backports
3
+ - actions :
4
+ backport :
5
+ branches :
6
+ - reef
7
+ conditions :
8
+ - label=backport-reef
9
+ name : backport reef
3
10
- actions :
4
11
backport :
5
12
branches :
Original file line number Diff line number Diff line change 24
24
- hosts : all
25
25
become : true
26
26
gather_facts : true
27
+ vars :
28
+ repos_to_disable :
29
+ - rhceph-4-tools-for-rhel-{{ ansible_facts['distribution_major_version'] }}-{{ ansible_facts['architecture'] }}-rpms
30
+ - rhceph-4-mon-for-rhel-{{ ansible_facts['distribution_major_version'] }}-{{ ansible_facts['architecture'] }}-rpms
31
+ - rhceph-4-osd-for-rhel-{{ ansible_facts['distribution_major_version'] }}-{{ ansible_facts['architecture'] }}-rpms
32
+ - rhceph-5-tools-for-rhel-{{ ansible_facts['distribution_major_version'] }}-{{ ansible_facts['architecture'] }}-rpms
27
33
tasks :
28
34
- name : import_role ceph_defaults
29
35
import_role :
41
47
42
48
- name : disable older rhceph repositories if any
43
49
rhsm_repository :
44
- name : " {{ item }}"
50
+ name : " {{ repos_to_disable }}"
45
51
state : absent
46
- loop :
47
- - rhceph-4-tools-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms
48
- - rhceph-4-mon-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms
49
- - rhceph-4-osd-for-rhel-8-{{ ansible_facts['architecture'] }}-rpms
50
- when : ansible_facts['distribution_major_version'] | int == 8
51
52
52
53
- name : enable ceph package repositories
53
54
when : ceph_origin in ['community', 'ibm']
You can’t perform that action at this time.
0 commit comments