Fix syntax errors with set-service-type-data-fact role

Tasks key is not valid inside a role.

Change-Id: I5e6a98e483a13271d8b422162b4e3217e7b495fb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-10-16 07:25:37 -04:00
parent ee3ad0c17e
commit 0bc544b302
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -1,15 +1,14 @@
tasks:
- name: Get service-types data file
get_url:
url: https://service-types.openstack.org/service-types.json
dest: "{{ ansible_user_dir }}/service-types.json"
- name: Get service-types data file
get_url:
url: https://service-types.openstack.org/service-types.json
dest: "{{ ansible_user_dir }}/service-types.json"
- name: Collect service type data for project
get_service_type_data:
project_name: "{{ zuul.project.short_name }}"
service_types_file: "{{ ansible_user_dir }}/service-types.json"
register: service_type_data
- name: Collect service type data for project
get_service_type_data:
project_name: "{{ zuul.project.short_name }}"
service_types_file: "{{ ansible_user_dir }}/service-types.json"
register: service_type_data
- name: Set service_type_data as a fact
set_fact:
service_type_data: service_type_data
- name: Set service_type_data as a fact
set_fact:
service_type_data: service_type_data