project-config/playbooks/publish/infra-afs.yaml
James E. Blair 41692f866e Fix missing "role:" mapping keys
Change-Id: I1c0c6a8244f019d70e4ec1e1fc56f5641f6edeaf
2017-10-26 14:46:04 -07:00

10 lines
277 B
YAML

- hosts: localhost
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/infra/{{ zuul.project.short_name }}"
when: zuul_success | bool
- role: destroy-afs-token
when: zuul_success | bool