- libvirt: false # Should vagrant be installed?
- permanent: false # Is this a permanent builder? Since the ephemeral (non-permanent) tasks get run more often, we'll default to false.
- jenkins_user: 'jenkins-build'
- #- jenkins_key: This gets defined below now.
- # jenkins API credentials:
- api_user: 'ceph-jenkins'
- - token: '{{ token }}'
- api_uri: 'https://jenkins.ceph.com'
- jenkins_credentials_uuid: 'jenkins-build'
- nodename: '{{ nodename }}'
- osc_user: 'username'
- osc_pass: 'password'
- container_mirror: 'docker-mirror.front.sepia.ceph.com:5000'
+ - secrets_path: "{{ lookup('env', 'ANSIBLE_SECRETS_PATH') | default('/etc/ansible/secrets', true) }}"
+
tasks:
+ - name: "Include secrets"
+ include_vars: "{{ secrets_path | mandatory }}/jenkins_api_token.yml"
+ no_log: true
+ tags:
+ always
+
+ - set_fact:
+ token: "{{ jenkins_api_token }}"
+ no_log: true
+ tags:
+ always
+
## DEFINE PACKAGE LISTS BELOW
# Universal DEBs
- set_fact: