Browse Source

Added |bool for rhel_enable_repos (#8871)

pull/8883/head
Gleb Galkin 2 years ago
committed by GitHub
parent
commit
f47aca3558
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/bootstrap-os/tasks/bootstrap-redhat.yml

4
roles/bootstrap-os/tasks/bootstrap-redhat.yml

@ -78,7 +78,7 @@
- "rhel-7-server-extras-rpms"
state: enabled
when:
- rhel_enable_repos | default(True)
- rhel_enable_repos | default(True) | bool
- ansible_distribution_major_version == "7"
# container-selinux is in appstream repo
@ -89,7 +89,7 @@
- "rhel-8-for-*-appstream-rpms"
state: enabled
when:
- rhel_enable_repos | default(True)
- rhel_enable_repos | default(True) | bool
- ansible_distribution_major_version == "8"
- name: Check presence of fastestmirror.conf

Loading…
Cancel
Save