From ac47a0f6c595ad56d02639ae02c1de029a259988 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 13 Dec 2021 15:39:00 -0500 Subject: [PATCH] ansible: Use python3 on all nodes Signed-off-by: Michael Jeanson --- automation/ansible/hosts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/automation/ansible/hosts b/automation/ansible/hosts index acb14fb..2ad9a81 100644 --- a/automation/ansible/hosts +++ b/automation/ansible/hosts @@ -1,4 +1,4 @@ -localhost ansible_connection=local +localhost ansible_connection=local ansible_python_interpreter=python3 [hosts] #cloud01.internal.efficios.com @@ -20,9 +20,6 @@ ci-node-deb11-armhf-06 ci-node-deb11-armhf-07 ci-node-deb11-armhf-08 -[node_armhf:vars] -ansible_python_interpreter=python3 - [node_arm64] ci-node-deb11-arm64-01 ci-node-deb11-arm64-02 @@ -99,9 +96,6 @@ ci-node-sles12sp5-amd64-03-01 [node_el8] ci-node-el8-amd64-03-01 -[node_el8:vars] -ansible_python_interpreter=/usr/bin/python3 - [node:children] node_i386 node_amd64 @@ -112,3 +106,9 @@ node_ppc64el node_standalone node_sles node_el8 + +[py3_hosts:children] +node + +[py3_hosts:vars] +ansible_python_interpreter=python3 -- 2.34.1