mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 13:08:52 +07:00
5b258eba7a
We don't need to parse the inventories in Terraform anymore. INI is easier to read and edit
28 lines
395 B
Makefile
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
|