Move more creds in, fix gitea using the DB pass for everything

Oh god
This commit is contained in:
Salt 2021-08-26 14:43:01 -05:00
parent 7e3ef62e5a
commit bbda71474a

View File

@ -69,10 +69,11 @@ secret_gulagbot_discord_token: "{{ query('netbox.netbox.nb_lookup', 'secrets', a
# For gitea
secret_gitea_db_pass: "{{ query('netbox.netbox.nb_lookup', 'secrets', api_filter='name=gitea_db_pass', api_endpoint='https://netbox.desu.ltd', token=netbox_token, key_file='private.pem')[0].value.plaintext }}"
gitea_secret_key: "{{ query('netbox.netbox.nb_lookup', 'secrets', api_filter='name=gitea_db_pass', api_endpoint='https://netbox.desu.ltd', token=netbox_token, key_file='private.pem')[0].value.plaintext }}"
gitea_internal_token: "{{ query('netbox.netbox.nb_lookup', 'secrets', api_filter='name=gitea_db_pass', api_endpoint='https://netbox.desu.ltd', token=netbox_token, key_file='private.pem')[0].value.plaintext }}"
gitea_secret_key: "{{ query('netbox.netbox.nb_lookup', 'secrets', api_filter='name=gitea_secret_key', api_endpoint='https://netbox.desu.ltd', token=netbox_token, key_file='private.pem')[0].value.plaintext }}"
gitea_internal_token: "{{ query('netbox.netbox.nb_lookup', 'secrets', api_filter='name=gitea_internal_token', api_endpoint='https://netbox.desu.ltd', token=netbox_token, key_file='private.pem')[0].value.plaintext }}"
# For Nagios
#secret_nagios_admin_pass: "{{ query('netbox.netbox.nb_lookup', 'secrets', api_filter='name=nagios_admin_pass', api_endpoint='https://netbox.desu.ltd', token=netbox_token, key_file='private.pem')[0].value.plaintext }}"
secret_nagios_admin_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256
64333231393831303031616363363030613464653161313531316465346263313063626638363437