From 26644cff13593d4657f4f354d1c0aa89864695aa Mon Sep 17 00:00:00 2001 From: Haroon Khel Date: Fri, 1 Dec 2023 15:31:46 +0000 Subject: [PATCH] remove ansible_python_interpreter from main and have as var for test --- ansible/playbooks/AdoptOpenJDK_AIX_Playbook/main.yml | 2 -- .../AdoptOpenJDK_AIX_Playbook/roles/dnf/tasks/main.yml | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/main.yml b/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/main.yml index ed138144a2..992b027c07 100644 --- a/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/main.yml @@ -10,8 +10,6 @@ PATH: "/opt/IBM/xlC/13.1.3/bin:/opt/freeware/bin:{{ ansible_env.PATH }}" PERL_MB_OPT: "--install_base /opt/freeware" PERL_MM_OPT: "INSTALL_BASE=/opt/freeware" - vars: - ansible_python_interpreter: /opt/freeware/bin/python3 roles: - role: logs diff --git a/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/dnf/tasks/main.yml b/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/dnf/tasks/main.yml index 40bd57cda9..1ddc43f628 100644 --- a/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/dnf/tasks/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/dnf/tasks/main.yml @@ -57,6 +57,8 @@ dnf: name: yum-utils state: absent + vars: + ansible_python_interpreter: /opt/freeware/bin/python3 - name: Update dnf dnf: