Merge pull request '[deploy-opentofu]' (#266) from fenix-admin into dev

Reviewed-on: fenix-gitea-admin/iac-opentofu-private#266
This commit is contained in:
2025-09-21 11:08:00 +00:00

View File

@ -89,6 +89,7 @@ jobs:
bw config server $VAULTWARDEN_LINK bw config server $VAULTWARDEN_LINK
bw login --apikey bw login --apikey
BW_SESSION=$(bw unlock "$BW_PASSWORD" --raw) BW_SESSION=$(bw unlock "$BW_PASSWORD" --raw)
echo ""
echo "$BW_SESSION" echo "$BW_SESSION"
echo "getting item" echo "getting item"
bw get item "iac.proxmox.ssh.link" --session "$BW_SESSION" | jq -r '.notes' > "proxmox-ssh-link.txt" bw get item "iac.proxmox.ssh.link" --session "$BW_SESSION" | jq -r '.notes' > "proxmox-ssh-link.txt"
@ -157,6 +158,7 @@ jobs:
elif [ "$type" == "note" ]; then elif [ "$type" == "note" ]; then
echo "note get" echo "note get"
bw get item "$name" --session "$BW_SESSION" | jq -r '.notes' > "$output" bw get item "$name" --session "$BW_SESSION" | jq -r '.notes' > "$output"
cat $output
fi fi
done done