diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5264b4c --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +.PHONY: all +all: galaxy playbook + +.PHONY: galaxy +galaxy: role collection + +.PHONY: role +role: + ansible-galaxy role install -r ./roles/requirements.yml + +.PHONY: collection +collection: + ansible-galaxy collection install -r ./collections/requirements.yml + +.PHONY: ping +ping: + ansible -m ping all + +.PHONY: setup +setup: + ansible -m setup all + +.PHONY: playbook +playbook: + ansible-playbook test.yml +