From 1bc16bd9782a84c69ddcc680349c974a8cbc07ce Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 31 Oct 2026 21:57:58 -0400 Subject: deal with 3.7 on front --- inventory.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/inventory.yml b/inventory.yml index aa8732d..abe2de3 100644 --- a/inventory.yml +++ b/inventory.yml @@ -27,39 +27,39 @@ prod: cpus: 12 front: ansible_host: front0.emacsconf.org - remote_user: orga + ansible_user: orga ansible_ssh_user: orga - ansible_python_interpreter: /usr/bin/python3 + ansible_python_interpreter: /usr/bin/python3.7 ansible_become: true update_cache: false wiki: ansible_host: front0.emacsconf.org - remote_user: orga + ansible_user: orga ansible_ssh_user: orga ansible_python_interpreter: /usr/bin/python3 ansible_become: true pad: ansible_host: front0.emacsconf.org - remote_user: orga + ansible_user: orga ansible_ssh_user: orga - ansible_python_interpreter: /usr/bin/python3 + ansible_python_interpreter: /usr/bin/python3.7 ansible_become: true update_cache: false media: ansible_host: media.emacsconf.org - remote_user: sachac + ansible_user: sachac ansible_ssh_user: sachac ansible_python_interpreter: /usr/bin/python3 ansible_become: true upload: ansible_host: media.emacsconf.org - remote_user: sachac + ansible_user: sachac ansible_ssh_user: sachac ansible_python_interpreter: /usr/bin/python3 ansible_become: true stream: ansible_host: live0.emacsconf.org - remote_user: orga + ansible_user: orga ansible_ssh_user: orga ansible_python_interpreter: /usr/bin/python3 ansible_become: true @@ -67,3 +67,7 @@ all: hosts: localhost: ansible_connection: local + ansible_python_interpreter: "{{ ansible_playbook_python }}" + vars: + # Auto-detect the system Python 3 on target hosts + ansible_python_interpreter: auto_silent -- cgit v1.2.3