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:
parent
a9edb2619d
commit
58e15a7ebf
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
# 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:
|
||||
# Fedora or RHEL/CentOS >= 8
|
||||
# This module requires the dnf module which is not available on RHEL 7.
|
||||
|
|
Loading…
Reference in a new issue