Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Fix install_python value after checking default python version
Browse files Browse the repository at this point in the history
  • Loading branch information
p-j-smith committed Feb 8, 2023
1 parent 85b68da commit b835a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
tasks_from: "check_default_version"
- name: Set install_python variable based on the version to be installed
ansible.builtin.set_fact:
install_python: "{{ 'install_python2' if default_python_version is version('2') else 'install_python3' }}"
install_python: "{{ install_python2 if default_python_version is version('2') else install_python3 }}"
tasks:
- name: Install Python, pip, and setuptools
ansible.builtin.include_role:
Expand Down

0 comments on commit b835a40

Please sign in to comment.