File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ minor_changes :
3+ - " common: assert python2 interpreter on OL/RHEL7 (oravirt#330)"
Original file line number Diff line number Diff line change 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
316
417- name : Check for correct Ansible Version (>= 2.8)
518 ansible.builtin.assert :
You can’t perform that action at this time.
0 commit comments