Skip to content

Commit 81805f2

Browse files
committed
os_host_aggregates: Drop Python 2 support
1 parent b3b043b commit 81805f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/os_host_aggregates/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: Set a fact about the Ansible python interpreter
33
ansible.builtin.set_fact:
4-
old_ansible_python_interpreter: "{{ ansible_python_interpreter | default('/usr/bin/python' + ansible_python.version.major | string) }}"
4+
old_ansible_python_interpreter: "{{ ansible_python_interpreter | default('/usr/bin/python3') }}"
55

66
- name: Import host-aggregates.yml
77
ansible.builtin.import_tasks: host-aggregates.yml

0 commit comments

Comments
 (0)