khuedoan-homelab/metal/Makefile
2021-02-28 23:56:11 +07:00

14 lines
264 B
Makefile

.POSIX:
default: init run
init:
python3 -m venv .venv \
&& . .venv/bin/activate \
&& pip3 install --upgrade pip \
&& pip3 install -r requirements.txt
run:
. .venv/bin/activate \
&& ansible-playbook --ask-become-pass --inventory hosts.ini playbook.yml