Skip to content

Commit 8630085

Browse files
committed
common: removed assert for python due to #346
1 parent e0e6224 commit 8630085

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

changelogs/fragments/assert.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- "common: removed assert for python due to oravirt#346 (oravirt#350)"

roles/common/tasks/main.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
# Common playbook - sets up the host generic stuff
22
---
3-
# ansible-oracle needs python2 on some distributions for later installation of cx_Oracle
4-
- name: Check for correct Ansible Interpreter on RHEL/OL 7
5-
ansible.builtin.assert:
6-
quiet: true
7-
that:
8-
- discovered_interpreter_python == '/usr/bin/python'
9-
fail_msg: Set interpreter_python to /usr/bin/python
10-
when:
11-
- ansible_distribution in('OracleLinux', 'RedHat')
12-
- ansible_distribution_major_version == '7'
13-
- interpreter_python is not defined
14-
tags:
15-
- assert
163

174
- name: Check for correct Ansible Version (>= 2.8)
185
ansible.builtin.assert:

0 commit comments

Comments
 (0)