c662ef5bd9
Otherwise, we cannot get the token properly from the secret. Change-Id: I5d2b761fbc94aab6077653b0bd2c209c53dbd322 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
7 lines
413 B
YAML
7 lines
413 B
YAML
- name: Login into Ansible Galaxy
|
|
command: "{{ ansible_galaxy_executable }} -s {{ ansible_galaxy_server }} login --github-token {{ ansible_galaxy_info.token }}"
|
|
no_log: True
|
|
|
|
- name: Import role into Ansible Galaxy
|
|
command: "{{ ansible_galaxy_executable }} -s {{ ansible_galaxy_server }} import --branch {{ ansible_galaxy_branch }} {{ zuul.project['name'].split('/')[0] }} {{ zuul.project['short_name'] }}"
|