24 lines
665 B
Makefile
24 lines
665 B
Makefile
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
|