30 lines
807 B
YAML
30 lines
807 B
YAML
version: "3"
|
|
|
|
tasks:
|
|
iptables:
|
|
desc: Print iptables
|
|
cmds:
|
|
- iptables -vnL
|
|
|
|
awall-activate:
|
|
desc: Activate awall rules and restart docker daemon
|
|
cmds:
|
|
- awall translate --verify
|
|
- awall activate
|
|
- service docker restart
|
|
|
|
update-task:
|
|
desc: Download latest Taskfile binary
|
|
cmds:
|
|
- sh -c "$(wget https://taskfile.dev/install.sh -O -)" -- -d -b .
|
|
|
|
install-task:
|
|
desc: Install Taskfile system wide
|
|
cmds:
|
|
- sh -c "$(wget https://taskfile.dev/install.sh -O -)" -- -d -b /usr/bin
|
|
|
|
install-completion:
|
|
desc: Add Taskfile zsh completion
|
|
cmds:
|
|
- mkdir -p /usr/local/share/zsh/site-functions
|
|
- wget -O /usr/local/share/zsh/site-functions/_task https://raw.githubusercontent.com/go-task/task/master/completion/zsh/_task
|