Skip to content

Taskfile framework that contains needed daily operations tasks and commands.

Notifications You must be signed in to change notification settings

mhmdio/iac-taskfile-framework

Repository files navigation

IaC Taskfile Framework

taskfile

Taskfile https://taskfile.dev/ that contains needed DevOps daily operations tasks and commands.

Operations

How to use

Install Taskfile

one command to install:

# For Installation To /usr/local/bin for user wide access with debug logging
# May require sudo sh
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin

git submodules

add submodule for the repo in tasks folder in your repo.

git submodule add https://github.com/mhmdio/iac-taskfile-framework tasks

update your Taskfile.yml to include the task files form tasks folder

includes:
  aws: ./tasks/aws
  docker: ./tasks/docker
  terraform: ./tasks/terraform

Sample Taskfile

# https://taskfile.dev

version: '3'
dotenv: ['.env']
output: prefixed
vars:
env:

includes:
  aws: ./tasks/aws
  docker: ./tasks/docker
  terraform: ./tasks/terraform

tasks:

  default:
    desc: Hello MSG.
    cmds:
      - echo "{{.GREETING}}"
    silent: true

Repos using IaC Taskfile framework

Releases

No releases published

Packages

No packages published