mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-09 20:19:24 -02:30
Refactor(defaults): centralize bootstrap_os defaults (#13155)
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
name:
|
||||
- "rhel-8-for-*-baseos-rpms"
|
||||
- "rhel-8-for-*-appstream-rpms"
|
||||
state: "{{ 'enabled' if (rhel_enable_repos | default(True) | bool) else 'disabled' }}"
|
||||
state: "{{ 'enabled' if (rhel_enable_repos | bool) else 'disabled' }}"
|
||||
when:
|
||||
- ansible_distribution_major_version == "8"
|
||||
- (not rh_subscription_status.changed) or (rh_subscription_username is defined) or (rh_subscription_org_id is defined)
|
||||
|
||||
Reference in New Issue
Block a user