Add all: init

This commit is contained in:
Sam A. 2022-11-26 21:54:11 +01:00
parent 212a2a579e
commit 5568254ddb
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -1,3 +1,7 @@
# Makefile for initializing pre-commit hooks
all: init
init: create_venv install_pre_commit install_ansible_galaxy_modules
create_venv:
@ -9,4 +13,4 @@ install_pre_commit:
venv/bin/pre-commit install
install_ansible_galaxy_modules:
venv/bin/ansible-galaxy collection install community.general
venv/bin/ansible-galaxy collection install community.general