This commit is contained in:
Hrankin, Aleksandr (contracted)
2026-02-19 11:34:13 +00:00
commit f243f440c3
191 changed files with 6183 additions and 0 deletions

24
makefiles/bootstrap.mk Normal file
View File

@@ -0,0 +1,24 @@
SHELL := /bin/bash
.DEFAULT_GOAL := all
MAKEFILE_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
ANSIBLE_DIR := $(abspath $(MAKEFILE_DIR)/../ansible)
.PHONY: refresh_known_hosts all
refresh_known_hosts:
cd "$(ANSIBLE_DIR)" && \
ansible-playbook playbooks/node/remove_file.yml \
-i "localhost," -c local \
-e "file_path=/root/.ssh/known_hosts"
all: refresh_known_hosts
# $(MAKE) -f 00_create_and_setup_lxc_container_with_packer.mk
# $(MAKE) -f 01_create_vm_golden_template.mk
$(MAKE) -f 02_create_vms.mk
$(MAKE) -f 03_harden_nodes.mk
$(MAKE) -f 04_setup_dns.mk
$(MAKE) -f 05_setup_ntp.mk
$(MAKE) -f 06_setup_ceph.mk
# make -f bootstrap.mk