Skip to content

Commit

Permalink
ansible: Rename Makefile targets
Browse files Browse the repository at this point in the history
Rename the targets in the Makefile to clearly depict their purpose:

* One target to create the infrastructure (setup VMs).
* One target to deploy Kubernetes using Kubespray.

Signed-off-by: Dimitris Poulopoulos <[email protected]>
  • Loading branch information
dpoulopoulos committed Jun 25, 2024
1 parent 27e5e72 commit 75829a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ansible/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
DEFAULT_ARGS = -i inventory/hosts.yml
DEFAULT_ARGS = -i inventory/hosts.yml -i inventory/state.ini

# Set this to the empty strin, to disable diff mode (on by default)
ANSIBLE_DIFF ?= --diff

all-check:
vms-check:
ansible-playbook $(ANSIBLE_ARGS) $(ANSIBLE_DIFF) $(DEFAULT_ARGS) --check site.yml

all:
vms:
ansible-playbook $(ANSIBLE_ARGS) $(ANSIBLE_DIFF) $(DEFAULT_ARGS) site.yml

k8s-check:
Expand Down

0 comments on commit 75829a4

Please sign in to comment.