This is really the ceph-jenkins ssh user's password, but they're
now stored in ceph-sepia-secrets so they don't have to be found
and entered on the cmdline here
This keeps 'one ansible-vault encrypt output' in one file, and
should be easier to edit/view/etc.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
tasks:
- - name: "Include secrets"
- include_vars: "{{ secrets_path | mandatory }}/jenkins_api_token.yml"
- no_log: true
- tags:
- always
-
- - set_fact:
- token: "{{ jenkins_api_token }}"
+ - name: "Include appropriate jenkins API token"
+ # sets 'token'
+ include_vars: "{{ secrets_path | mandatory }}/{{ api_uri | replace('https://', '')}}.apitoken.yml"
no_log: true
tags:
always