![Ian Wienand](/assets/img/avatar_default.png)
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
563 B
YAML
18 lines
563 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/{{ zuul.project.name }}/"
|
|
- name: Destroy AFS token
|
|
include_role:
|
|
name: destroy-afs-token
|
|
when: zuul_success | bool
|