inventory_hostname is as it appears in the inventory file, and keeping
that consistent is easier than dealing with short vs long names
Note: this requires a change to ceph-sepia-secrets to standardize on
the inventory form of the name
Signed-off-by: Dan Mick <dmick@redhat.com>
- api_uri: 'https://jenkins.ceph.com'
- jenkins_credentials_uuid: 'jenkins-build'
- nodename: '{{ nodename }}'
- - labels: "{{ jenkins_labels[ansible_hostname] }}"
+ - labels: "{{ jenkins_labels[inventory_hostname] }}"
- grant_sudo: true
- osc_user: 'username'
- osc_pass: 'password'