Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

19 řádky
661 B

  1. # SPDX-FileCopyrightText: 2022 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. .PHONY: roles lint add-inventory-host
  5. help: ## Show this help.
  6. @grep -F -h "##" $(MAKEFILE_LIST) | grep -v grep | sed -e 's/\\$$//' | sed -e 's/##//'
  7. add-inventory-host: ## Adds a new host to the inventory, creating the inventory files if necessary (e.g. `make add-inventory-host domain=example.com ip=1.2.3.4`)
  8. @./bin/add-inventory-host.sh "$(domain)" "$(ip)"
  9. roles: ## Pull roles
  10. rm -rf roles/galaxy
  11. ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force
  12. lint: ## Runs ansible-lint against all roles in the playbook
  13. ansible-lint roles/custom