You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
983 B
42 lines
983 B
HOMEBREW_CASK_OPTS = "" |
|
ANSIBLE = ansible-playbook --connection=local --ask-become-pass --inventory localhost, --limit localhost |
|
|
|
help: ## Display this help. |
|
@awk 'BEGIN { \ |
|
FS = ":.*##"; \ |
|
printf "\nUsage:\n make \033[36m<target>\033[0m\n\nTargets:\n" \ |
|
} \ |
|
/^[a-zA-Z_-]+:.*?##/ { \ |
|
printf " \033[36m%-12s\033[0m %s\n", $$1, $$2 \ |
|
} \ |
|
END { \ |
|
print \ |
|
}' \ |
|
$(MAKEFILE_LIST) |
|
|
|
all: doc_silent ## Apply all roles. |
|
$(ANSIBLE) playbook.yml |
|
|
|
requirements: ## Install requirements. |
|
ansible-galaxy install -r requirements.yml |
|
pip3 install --user -r requirements.txt |
|
|
|
readme: doc |
|
doc: ## Generate README.md. |
|
scripts/doc.sh | tee README.md |
|
|
|
doc_silent: |
|
scripts/doc.sh > README.md |
|
|
|
hosts: ## Update /etc/hosts files. |
|
$(ANSIBLE) -t hosts playbook.yml |
|
|
|
fonts: ## Install fonts. |
|
$(ANSIBLE) -t fonts playbook.yml |
|
|
|
gentoo: ## Configure Calculate Linux. |
|
$(ANSIBLE) -t hosts,gentoo playbook.yml |
|
|
|
macos: ## Configure MacOS. |
|
$(ANSIBLE) -t hosts,macos playbook.yml |
|
|
|
|