project-config/playbooks/publish/opendev-afs.yaml
Ian Wienand 40a775835d Migrate to upload-afs-roots role
Handle the name change in the dependent change.  Should have no
functional change.

Depends-On: https://review.opendev.org/705368
Change-Id: I5fdc858892b1cf31649c2a8bef3d018afe68cb22
2020-02-03 14:16:39 +11:00

10 lines
307 B
YAML

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