khuedoan-homelab/metal/Makefile
Khue Doan 5b258eba7a style(metal): convert inventories from YAML to INI
We don't need to parse the inventories in Terraform anymore.
INI is easier to read and edit
2021-11-25 18:48:55 +07:00

28 lines
395 B
Makefile

.POSIX:
default: boot cluster
boot:
ansible-playbook \
--inventory inventories/prod.ini \
main.yml
cluster:
ansible-playbook \
--inventory inventories/prod.ini \
cluster.yml
shutdown:
ansible-playbook \
--inventory inventories/prod.ini \
shutdown.yml
lint:
ansible-lint --project-dir .
dev:
vagrant up
ansible-playbook \
--inventory inventories/dev.ini \
cluster.yml