1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

copr tests: Fix ansible_python_interpreter on c8s

This commit is contained in:
Maxwell G 2022-11-30 21:41:23 -06:00
parent a9edb2619d
commit 58e15a7ebf
No known key found for this signature in database
GPG key ID: F79E4E25E8C661F8

View file

@ -3,6 +3,14 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
- name: Fix improperly set ansible_python_interpreter on Stream 8
when:
- "ansible_distribution == 'CentOS'"
- "ansible_distribution_release == 'Stream'"
- "ansible_distribution_major_version == '8'"
ansible.builtin.set_fact:
ansible_python_interpreter: /usr/libexec/platform-python
- when: - when:
# Fedora or RHEL/CentOS >= 8 # Fedora or RHEL/CentOS >= 8
# This module requires the dnf module which is not available on RHEL 7. # This module requires the dnf module which is not available on RHEL 7.