ansible: Use python3 on all nodes
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 13 Dec 2021 20:39:00 +0000 (15:39 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 13 Dec 2021 20:39:00 +0000 (15:39 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
automation/ansible/hosts

index acb14fb63cdde72df046f145e6624cbcfbda1682..2ad9a81675008c6cfbfbe27800c523f1b426b03b 100644 (file)
@@ -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
This page took 0.023433 seconds and 4 git commands to generate.