Use the service account koji token in buildvm to authenticate

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2018-04-09 20:42:26 +02:00
parent f3a7bc9341
commit c8ede853ff
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,9 @@
---
- name: put the koji token file in place
copy:
src: "{{ private }}/files/osbs/{{ env }}/x86-64-osbs-stg-koji"
dest: "/etc/osbs/x86-64-osbs-stg-koji"
owner: root
mode: 0400
when: env == "staging"