From e8914d0a6a61d3dbf7ef48c04584428d0c346c1e Mon Sep 17 00:00:00 2001 From: Geoff Jacobs Date: Fri, 11 Aug 2023 09:56:35 +1000 Subject: [PATCH] found another task that is failing, testing out omit here --- roles/linux_common/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/linux_common/tasks/main.yml b/roles/linux_common/tasks/main.yml index 6155140..796793a 100644 --- a/roles/linux_common/tasks/main.yml +++ b/roles/linux_common/tasks/main.yml @@ -18,6 +18,8 @@ - curl - unzip - fontconfig + vars: + ansible_python_interpreter: "{{ '/usr/bin/python2' if ((ansible_distribution | lower == 'amazon') and (ansible_distribution_version == '2')) else omit }}" - name: Create product group ansible.builtin.group: