Remove references to the current task from task() in ceph-ansible.yaml

When using the task() expression function within a mistral task the name
is only needed when referncing a different task. These were found with
the mistral-lint PyPI package.

Change-Id: I40cdfb27e00274effbef18e7b15437bc65273fb7
This commit is contained in:
Dougal Matthews 2017-10-20 10:34:23 +01:00
parent 4caacf4eef
commit 99dba74383
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ workflows:
get_private_key:
action: tripleo.validations.get_privkey
publish:
private_key: <% task(get_private_key).result %>
private_key: <% task().result %>
on-success: set_ip_lists
set_ip_lists:
publish:
@ -46,7 +46,7 @@ workflows:
make_fetch_directory:
action: tripleo.files.make_temp_dir
publish:
fetch_directory: <% task(make_fetch_directory).result.path %>
fetch_directory: <% task().result.path %>
on-success: set_role_vars
set_role_vars:
publish:
@ -87,7 +87,7 @@ workflows:
extra_env_variables: <% $.ansible_extra_env_variables %>
extra_vars: <% $.extra_vars %>
publish:
output: <% task(ceph_install).result %>
output: <% task().result %>
on-complete: purge_fetch_directory
purge_fetch_directory:
action: tripleo.files.remove_temp_dir path=<% $.fetch_directory %>