diff --git a/Makefile b/Makefile index 00aba1fd0954c4b3f544039cc3226d83c0f2843c..b1d23320ab5c8f612acc3f5861f043c3a5ac0dbf 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,11 @@ include $(ENV_DIR)/$(ENVIRONMENT).mk ANSIBLE_ARGS = -i $(ENV_DIR)/inventory.txt \ -e ansible_dir=$(ANSIBLE_DIR) \ -e environment_dir=$(ENV_DIR) - + +clone-wazuh: + -git clone https://github.com/wazuh/wazuh-ansible.git > /dev/null 2>&1 + cd wazuh-ansible && git checkout tags/v4.1.5 + reprovision: @ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook $(ANSIBLE_ARGS) $(ANSIBLE_DIR)/provision-reset.yml diff --git a/README.md b/README.md index b57867d5767991203b78a9db0cb6970185579afa..95981f724c3298eee329ca2511002308a2bc9c84 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ In addition to Wazuh, ClamAV is also installed to agent machines (for testing pu First, checkout Wazuh's tag `v4.1.5` into the current directory: +``` +$ make clone-wazuh +``` +or ``` $ git clone https://github.com/wazuh/wazuh-ansible.git $ git checkout tags/v4.1.5