Use vars for specifying python interpreter

This commit is contained in:
Sonny Bakker 2021-04-23 21:32:53 +02:00
parent 8cc4d46b96
commit b28f961d7d
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,4 @@
[defaults]
ansible_python_interpreter = /usr/bin/python3
roles_path = ./roles
[privilege_escalation]

View file

@ -1,3 +1,6 @@
ansible_connection: local
ansible_python_interpreter: '/usr/bin/env python'
packages: []
xdg_config_dir: '{{ ansible_env.HOME }}/.config'