make: Add dryrun target

This commit is contained in:
2020-04-01 10:13:56 +02:00
parent 83b22756c5
commit d293da7159

View File

@@ -9,6 +9,10 @@ ansible_run = $(activate) && ansible-playbook --inventory localhost, --diff --ve
all: $(ansible) all: $(ansible)
$(ansible_run) $(ansible_run)
.PHONY: dryrun
dryrun: $(ansible)
$(ansible_run) --check
.PHONY: update .PHONY: update
update: $(ansible) update: $(ansible)
$(ansible_run) --tags update_system $(ansible_run) --tags update_system