2022-11-13 01:10:26 +01:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
iptables:
|
|
|
|
desc: Print iptables
|
|
|
|
cmds:
|
|
|
|
- iptables -vnL
|
|
|
|
|
|
|
|
awall-activate:
|
2023-08-09 11:34:50 +02:00
|
|
|
desc: Activate awall rules and restart docker daemon
|
2022-11-13 01:10:26 +01:00
|
|
|
cmds:
|
|
|
|
- awall translate --verify
|
|
|
|
- awall activate
|
2023-08-09 11:34:50 +02:00
|
|
|
- service docker restart
|
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
|
|
|
|
|
2023-08-09 21:51:27 +02:00
|
|
|
install-rmate:
|
|
|
|
desc: Install rmate shell script
|
|
|
|
cmds:
|
|
|
|
- sudo wget -O /usr/local/bin/rmate https://raw.githubusercontent.com/textmate/rmate/master/bin/rmate
|
|
|
|
- sudo chmod a+x /usr/local/bin/rmate
|