Fix missing "role:" mapping keys

Change-Id: I1c0c6a8244f019d70e4ec1e1fc56f5641f6edeaf
This commit is contained in:
James E. Blair 2017-10-26 14:46:04 -07:00
parent fcf4a7121a
commit 41692f866e
15 changed files with 27 additions and 30 deletions

View File

@ -11,12 +11,12 @@
- hosts: localhost
roles:
- set-service-type-data-fact
- role: set-service-type-data-fact
when: zuul_success | bool
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/api-guide/{{ service_type_data.service_type }}"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

@ -11,12 +11,12 @@
- hosts: localhost
roles:
- set-service-type-data-fact
- role: set-service-type-data-fact
when: zuul_success | bool
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/api-ref/{{ service_type_data.service_type }}"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

@ -11,10 +11,10 @@
- hosts: localhost
roles:
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/contributors"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

@ -14,10 +14,10 @@
- hosts: localhost
roles:
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/project-deploy-guide/{{ zuul.project.short_name }}"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

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

View File

@ -11,10 +11,10 @@
- hosts: localhost
roles:
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/infra"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

@ -1,9 +1,9 @@
- hosts: localhost
roles:
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/infra/manual"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

@ -1,6 +1,6 @@
- hosts: all
roles:
- prepare-docs-for-afs
- role: prepare-docs-for-afs
doc_build_dir: "{{ zuul_work_dir }}/install-guide/build"
when: zuul_success | bool
- fetch-tox-output
@ -14,10 +14,10 @@
- hosts: localhost
roles:
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/project-install-guide/{{ zuul.project.short_name }}"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

@ -8,10 +8,10 @@
- hosts: localhost
roles:
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

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

View File

@ -14,7 +14,6 @@
- hosts: "{{ site_logs.fqdn }}"
gather_facts: False
tasks:
- name: Upload specs site to fileserver
synchronize:
src: "{{ zuul.executor.work_root }}/artifacts/"

View File

@ -11,10 +11,10 @@
- hosts: localhost
roles:
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/api-ref/placement"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

@ -12,10 +12,10 @@
- hosts: localhost
roles:
- create-afs-token
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/releasenotes/{{ zuul.project.short_name }}"
when: zuul_success | bool
- destroy-afs-token
- role: destroy-afs-token
when: zuul_success | bool

View File

@ -14,7 +14,6 @@
- hosts: "{{ site_logs.fqdn }}"
gather_facts: False
tasks:
- name: Publish service-types-authority data to service-types.openstack.org
synchronize:
src: "{{ zuul.executor.work_root }}/artifacts/"

View File

@ -13,7 +13,6 @@
- hosts: "{{ fileserver.fqdn }}"
gather_facts: False
tasks:
- name: Upload docs to static site
copy:
src: "{{ zuul.executor.work_root }}/artifacts/"