From 9dcbb0d0af84a3a79f21d5d91136c5c80b0905b2 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sat, 16 Mar 2024 21:08:50 -0500 Subject: [PATCH] Add check and diff support --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 03f012e..419ce3a 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,18 @@ galaxy: role collection role: ansible-galaxy role install -r ./roles/requirements.yml +.PHONY: roleforce +roleforce: + ansible-galaxy role install -r ./roles/requirements.yml --force + .PHONY: collection collection: ansible-galaxy collection install -r ./collections/requirements.yml +.PHONY: collectionforce +collectionforce: + ansible-galaxy collection install -r ./collections/requirements.yml --force + .PHONY: ping ping: ansible -m ping all @@ -28,3 +36,7 @@ reboot: playbook: ansible-playbook test.yml +.PHONY: checkdiff +checkdiff: + ansible-playbook test.yml --check --diff +