[ansible] Add a barebones Makefile to set up a local Ansible environment

This commit is contained in:
Eryn Wells 2024-08-21 16:05:57 -07:00
parent 63dde5c58a
commit 7d26910371
2 changed files with 23 additions and 0 deletions

11
Ansible/Makefile Normal file
View file

@ -0,0 +1,11 @@
init: venv deps
venv: ./env/bin/pip
python3 -m venv env
deps: ./env/bin/ansible-playbook
./env/bin/pip install -r requirements.txt
freeze:
./env/bin/pip freeze > requirements.txt

12
Ansible/requirements.txt Normal file
View file

@ -0,0 +1,12 @@
ansible==8.7.0
ansible-core==2.15.12
cffi==1.17.0
cryptography==43.0.0
importlib-resources==5.0.7
Jinja2==3.1.4
MarkupSafe==2.1.5
packaging==24.1
passlib==1.7.4
pycparser==2.22
PyYAML==6.0.2
resolvelib==1.0.1