File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 2525 validate_certs : no
2626 when : use_satellite == true
2727
28+ # set the releasever cause without it rhel-7-server-rpms repo fails on rhel7.9 machines
29+ # https://tracker.ceph.com/issues/49771
30+ # We have to do this here (instead of in testnodes role) because some package transactions fail during the common role.
31+ # However, we do not want to lock the release ver on all our systems; just testnodes.
32+ - name : Set the releasever
33+ copy :
34+ content : " {{ ansible_lsb.release }}"
35+ dest : /etc/yum/vars/releasever
36+ when : inventory_hostname in groups['testnodes']
37+
2838- name : Determine if node is registered with subscription-manager.
2939 command : subscription-manager identity
3040 register : subscription
Original file line number Diff line number Diff line change 4848 when : (repo_file is defined and repo_file is changed) or
4949 (gpg_keys is defined and gpg_keys is changed) or
5050 (version_repo_file is defined and version_repo_file is changed)
51-
52- # set the releasever cause without it rhel-7-server-rpms repo fails on rhel7.9 machines https://tracker.ceph.com/issues/49771
53- - name : set the releasevar on rhel
54- copy :
55- content : " {{ ansible_lsb.release }}"
56- dest : /etc/yum/vars/releasever
57- when : ansible_distribution == "RedHat"
You can’t perform that action at this time.
0 commit comments