Add check and diff support
This commit is contained in:
parent
f9c2559f39
commit
9dcbb0d0af
12
Makefile
12
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user