OSBS: Fix the name of the token variable

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2018-11-06 13:15:34 +01:00
parent ae60764b2e
commit a00be1f31a

View file

@ -433,11 +433,11 @@
tasks: tasks:
- name: get orchestrator service account token - name: get orchestrator service account token
command: "oc -n {{ osbs_worker_namespace }} sa get-token orchestrator" command: "oc -n {{ osbs_worker_namespace }} sa get-token orchestrator"
register: orchestator-token-aarch64 register: orchestator_token_aarch64
- name: save the token locally - name: save the token locally
local_action: > local_action: >
copy copy
content="{{ orchestator-token-aarch64.stdout }}" content="{{ orchestator_token_aarch64.stdout }}"
dest=/tmp/.orchestator-token-aarch64 dest=/tmp/.orchestator-token-aarch64
mode=0400 mode=0400