| | |
| | | path: "/opt/virtualenvs/k8s/bin/python" |
| | | register: r_virtualenv |
| | | - name: Set Ansible Python interpreter to virtualenv |
| | | when: r_virtualenv.exists |
| | | when: r_virtualenv.stat.exists |
| | | set_fact: |
| | | ansible_python_interpreter: "/opt/virtualenvs/k8s/bin/python" |
| | | |
| | |
| | | path: "{{ ocp_workloads.virtualenv_path}}/bin/python" |
| | | register: r_virtualenv |
| | | - name: Set Ansible Python interpreter to virtualenv |
| | | when: r_virtualenv.exists |
| | | when: r_virtualenv.stat.exists |
| | | set_fact: |
| | | ansible_python_interpreter: "{{ ocp_workloads.virtualenv_path }}/bin/python" |
| | | |