Added |bool for rhel_enable_repos (#8871)
This commit is contained in:
parent
73fc70dbe8
commit
f47aca3558
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue