diff --git a/ansible/Makefile b/ansible/Makefile new file mode 100644 index 0000000..e7a84e9 --- /dev/null +++ b/ansible/Makefile @@ -0,0 +1,18 @@ +ANSIBLE_POETRY=poetry +EXTRA_ARGS= + +ansible-setup: + $(ANSIBLE_POETRY) install + +deployment: + $(ANSIBLE_POETRY) run ansible-playbook -i reclass complete-setup.yml --become $(EXTRA_ARGS) + +api-deployment: EXTRA_ARGS="--tags=api" +api-deployment: deployment + +rabbitmq-deployment: EXTRA_ARGS="--tags=rabbitmq" +rabbitmq-deployment: deployment + +common-deployment: EXTRA_ARGS="--tags=common" +common-deployment: deployment +