Remove references to the current task from task() in access.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: I7ea2c8f8598fc0d4e5349b003b4e978f71df09f7
This commit is contained in:
Dougal Matthews 2017-10-20 10:40:02 +01:00
parent 2a8efeb0f6
commit 40bb963368
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ workflows:
action: tripleo.validations.get_pubkey
on-success: generate_playbook
publish:
pubkey: <% task(get_pubkey).result %>
pubkey: <% task().result %>
generate_playbook:
on-success:
@ -97,7 +97,7 @@ workflows:
action: nova.servers_list
on-success: create_admin
publish:
servers: <% task(get_servers).result._info %>
servers: <% task().result._info %>
create_admin:
workflow: tripleo.deployment.v1.deploy_on_server
@ -118,7 +118,7 @@ workflows:
action: tripleo.validations.get_privkey
on-success: wait_for_occ
publish:
privkey: <% task(get_privkey).result %>
privkey: <% task().result %>
wait_for_occ:
action: tripleo.ansible-playbook