Skip to content
Snippets Groups Projects
Verified Commit 03600a8c authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Place borg host vaults under host_vars/localhost/

Kind of sensitive information that doesn't need to be available to all
hosts.
parent dc0f4655
No related branches found
No related tags found
1 merge request!540Remove our two borg hosts from the inventory
......@@ -56,7 +56,7 @@ Run
pass otp insert -i rsync.net -a archlinux Rsync.net/archlinux-master-token -s
When asked for a secret, provide the `2FA token seed` from `group_vars/all/vault_rsync.net.yml`.
When asked for a secret, provide the `2FA token seed` from `host_vars/localhost/vault_rsync.net.yml`.
You can then run
pass otp code Rsync.net/archlinux-master-token
......
......@@ -4,7 +4,7 @@ backup_hosts:
dir: "~/repo"
suffix: ""
borg_cmd: "borg"
- host: "ssh://{{ rsync_net_username }}@zh1905.rsync.net:22"
- host: "ssh://zh1905@zh1905.rsync.net:22"
dir: "~/backup/{{ inventory_hostname }}"
suffix: "-offsite"
borg_cmd: "borg --remote-path=borg1"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment