diff --git a/.bin/ansible-vault-manager b/.bin/ansible-vault-manager index 8477af8..8114135 100755 --- a/.bin/ansible-vault-manager +++ b/.bin/ansible-vault-manager @@ -49,6 +49,9 @@ case "$action" in show) echo "$pass_content" | head -n 1 exit 0 ;; + list) + echo "$pass_content" | grep "^path:" | cut -d' ' -f2- + exit 0 ;; view) ansible-vault view "${pass_paths[@]}" exit 0 ;; @@ -65,6 +68,6 @@ case "$action" in pass edit "ansible/$project" exit 0 ;; *) - echo "Usage: ansible-vault-manager [show|view|edit|deploy|save|pass-edit]" + echo "Usage: ansible-vault-manager [show|list|view|edit|deploy|save|pass-edit]" exit 0 ;; esac diff --git a/.config/aliasrc b/.config/aliasrc index 7de5eb5..5674749 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -25,6 +25,7 @@ alias dns-flush='sudo systemctl restart systemd-resolved.service && sudo systemd alias doas='doas -- ' alias doasu='\doas -u ' alias docker-caddy-reload='docker compose exec app sh -c "caddy validate --config /etc/caddy/Caddyfile && caddy reload --config /etc/caddy/Caddyfile"' +alias dokku='ssh dokku.docker' alias du='du -h' alias free='free -h'