27 lines
392 B
Makefile
27 lines
392 B
Makefile
.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
|
|
|