From: Michael Jeanson Date: Mon, 13 Dec 2021 20:39:00 +0000 (-0500) Subject: ansible: Use python3 on all nodes X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ac47a0f6c595ad56d02639ae02c1de029a259988;p=lttng-ci.git ansible: Use python3 on all nodes Signed-off-by: Michael Jeanson --- 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