76037c434e
A later version of ansible-lint enforces names on blocks. This is generally a good rule; fix a few missing blocks here. Change-Id: Ia87a0c21ec0ed1662e37cbc9e17a0df344b54e57
18 lines
598 B
YAML
18 lines
598 B
YAML
- hosts: localhost
|
|
tasks:
|
|
- name: Upload to AFS
|
|
block:
|
|
- name: Create AFS token
|
|
include_role:
|
|
name: create-afs-token
|
|
- name: Upload to afs
|
|
include_role:
|
|
name: upload-afs-synchronize
|
|
vars:
|
|
afs_source: "{{ zuul.executor.work_root }}/artifacts/"
|
|
afs_target: "/afs/.openstack.org/project/tarballs.opendev.org/openstack/translation-source/{{ zuul.project.short_name }}/"
|
|
- name: Destroy AFS token
|
|
include_role:
|
|
name: destroy-afs-token
|
|
when: zuul_success | bool
|