Skip to content

Commit

Permalink
Makefile: Add target to run nodes.statedump playbook
Browse files Browse the repository at this point in the history
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
  • Loading branch information
anoopcs9 committed Oct 12, 2023
1 parent 31d82f0 commit 1d0e622
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
test:
@$(MAKE) -C vagrant setup.site

statedump:
@$(MAKE) -C vagrant nodes.statedump

clean:
@$(MAKE) -C vagrant clean

Expand Down
3 changes: 3 additions & 0 deletions vagrant/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ setup.clients:
generate.report:
@$(VSSH) admin "${SSH_EXTRA_VARS} make -C /home/vagrant/ansible generate.report"

nodes.statedump:
@ansible-playbook --inventory $(INVENTORY) ${ANSIBLE_EXTRA_VARS} nodes.statedump.yml

client.test:
@$(VSSH) admin "${SSH_EXTRA_VARS} make -C /home/vagrant/ansible client.test"

Expand Down

0 comments on commit 1d0e622

Please sign in to comment.