Revert "yum-repos: make the distro versions all cast to int, might be confusing this rhel8b deploy"
This reverts commit 7693c96b6b
.
This commit is contained in:
parent
9e9483a727
commit
ce89504030
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@
|
|||
|
||||
- name: add aarch64 server rpms repo
|
||||
copy: src="{{ files }}/common/rhel-7-aarch64-server-rpms.repo" dest="/etc/yum.repos.d/rhel-7-aarch64-server-rpms.repo"
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and inventory_hostname.startswith('aarch64-c') and ansible_distribution_major_version|int = 7
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and inventory_hostname.startswith('aarch64-c') and ansible_distribution_major_version = 7
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -89,7 +89,7 @@
|
|||
|
||||
- name: add aarch64 server rpms repo
|
||||
copy: src="{{ files }}/common/rhel-8-aarch64-server-rpms.repo" dest="/etc/yum.repos.d/rhel-8-aarch64-server-rpms.repo"
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and inventory_hostname.startswith('aarch64-c') and ansible_distribution_major_version|int = 8
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and inventory_hostname.startswith('aarch64-c') and ansible_distribution_major_version = 8
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue