project-config/playbooks/publish/opendev-afs.yaml
James E. Blair 1e4762ad65 Add opendev-website jobs
Change-Id: I85d59632d5761b2d42d06eaef4b77284c2a956ec
2018-11-28 13:34:09 -08:00

10 lines
301 B
YAML

- hosts: localhost
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "/afs/.openstack.org/project/opendev.org/www{{ afs_subpath | default('') }}"
when: zuul_success | bool
- role: destroy-afs-token
when: zuul_success | bool