--- version: "3" vars: PROJECT_DIR: sh: "git rev-parse --show-toplevel" KUBERNETES_DIR: "{{.PROJECT_DIR}}/kubernetes" ANSIBLE_DIR: "{{.PROJECT_DIR}}/ansible" TERRAFORM_DIR: "{{.PROJECT_DIR}}/terraform" dotenv: [".config.env"] env: KUBECONFIG: "{{.PROJECT_DIR}}/kubeconfig" includes: ansible: .taskfiles/AnsibleTasks.yml cluster: .taskfiles/ClusterTasks.yml precommit: .taskfiles/PrecommitTasks.yml terraform: .taskfiles/TerraformTasks.yml sops: .taskfiles/SopsTasks.yml tasks: init: desc: Initialize workstation dependencies with Brew cmds: - brew install {{.DEPS}} {{.CLI_ARGS}} preconditions: - sh: command -v brew msg: | Homebrew is not installed. Using MacOS, Linux or WSL? Head over to https://brew.sh to get up and running. vars: DEPS: >- age ansible direnv fluxcd/tap/flux go-task/tap/go-task helm ipcalc jq kubernetes-cli kustomize pre-commit prettier sops stern terraform tflint weaveworks/tap/gitops yamllint yq verify: desc: Verify env settings cmds: - ./configure --verify configure: desc: Configure repository from env settings cmds: - ./configure