Wrap upload-npm invocation in a block
Before ansible 2.7 this is needed for the delegate_to to apply. Change-Id: Icf0c36f94e55a9d8ef8ac123fde441af48303b25
This commit is contained in:
parent
764cd43dbe
commit
5ad44f84d4
@ -10,7 +10,8 @@
|
||||
# the remote host, which puts the fact into the hostvars of that host.
|
||||
# Now that we're running on localhost, we need to reach in to the remote
|
||||
# hosts vars to get the value.
|
||||
- name: Upload to npm
|
||||
include_role:
|
||||
name: upload-npm
|
||||
- block:
|
||||
- name: Upload to npm
|
||||
include_role:
|
||||
name: upload-npm
|
||||
delegate_to: localhost
|
||||
|
Loading…
Reference in New Issue
Block a user