ipa[server,replica,client]: Drop deactivated Python2/3 test

These tests have been deactivated for some time with b51397e and are
removed now.
This commit is contained in:
Thomas Woerner
2020-09-08 14:39:20 +02:00
parent 8e664157dd
commit cf4c590303
13 changed files with 0 additions and 122 deletions

View File

@@ -7,9 +7,6 @@
state: present
when: ipaclient_install_packages | bool
#- name: Install - Include Python2/3 import test
# import_tasks: "{{ role_path }}/tasks/python_2_3_test.yml"
- name: Install - Set ipaclient_servers
set_fact:
ipaclient_servers: "{{ groups['ipaservers'] | list }}"
@@ -113,10 +110,6 @@
fail: msg="Keytab or password is required for getting otp"
when: ipaadmin_keytab is undefined and ipaadmin_password is undefined
#- name: Install - Include Python2/3 import test
# import_tasks: "{{ role_path }}/tasks/python_2_3_test.yml"
# delegate_to: "{{ result_ipaclient_test.servers[0] }}"
- name: Install - Get One-Time Password for client enrollment
no_log: yes
ipaclient_get_otp:

View File

@@ -1,18 +0,0 @@
---
- block:
- name: Verify Python3 import
script: py3test.py
register: result_py3test
failed_when: False
changed_when: False
check_mode: no
- name: Set python interpreter to 3
set_fact:
ansible_python_interpreter: "/usr/bin/python3"
when: result_py3test.rc == 0
- name: Set python interpreter to 2
set_fact:
ansible_python_interpreter: "/usr/bin/python2"
when: result_py3test.failed or result_py3test.rc != 0

View File

@@ -1,9 +1,6 @@
---
# tasks to uninstall IPA client
# - name: Uninstall - Include Python2/3 import test
# import_tasks: "{{ role_path }}/tasks/python_2_3_test.yml"
- name: Uninstall - Uninstall IPA client
command: >
/usr/sbin/ipa-client-install