Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Makefile 822 B
help: # Print help on Makefile
	@grep '^[^.#]\+:\s\+.*#' Makefile | \
	sed "s/\(.\+\):\s*\(.*\) #\s*\(.*\)/`printf "\e[1;33;4;40m"`\1`printf "\033[0m"`	\3/" | \
	expand -t20

clean:	# Remove files not in source control
	find . -type f -name "*.retry" -delete
	find . -type f -name "*.orig" -delete

open_all: # Open all projects files
	${EDITOR} .gitignore inv* Makefile README.md
	${EDITOR} tasks/*.yml
	${EDITOR} tasks/files/sshd_config
	${EDITOR} tasks/templates/*.j2
	${EDITOR} tasks/system_cfg/*.yml
	${EDITOR} tasks/system_cfg/templates/*.j2
	${EDITOR} tasks/user_cfg/*.yml
	${EDITOR} tasks/user_cfg/files/dotfiles/*
	${EDITOR} tasks/user_cfg/templates/*.j2
	${EDITOR} tasks/user_cfg/vars/*.yml
	${EDITOR} tasks/vars/*.yml

gen_invent: # Generate base inventory
	cp inventory.sample inventory && ${EDITOR} inventory