2022-11-13 01:10:26 +01:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
iptables:
|
|
|
|
desc: Print iptables
|
|
|
|
cmds:
|
|
|
|
- iptables -vnL
|
|
|
|
|
|
|
|
awall-activate:
|
|
|
|
desc: Activate awall rules and reload podman network config
|
|
|
|
cmds:
|
|
|
|
- awall translate --verify
|
|
|
|
- awall activate
|
|
|
|
- podman network reload --all
|
2022-12-11 23:24:48 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|