add python-test.yml and re-work the inventory for python fun

This commit is contained in:
Chris Hammer
2022-03-11 02:54:22 -05:00
parent 2705d63300
commit 04ec3222dd
3 changed files with 64 additions and 1 deletions

18
inventory/hosts.new Normal file
View File

@ -0,0 +1,18 @@
[dev]
lab-dev-1
lab-dev-2
[dev:vars]
ansible_python_interpreter=/usr/bin/python2
[prod]
lab-prod-1
lab-prod-2
[prod:vars]
ansible_python_interpreter=/usr/bin/python3
[all:vars]
ansible_user=root