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:
@@ -10,7 +10,8 @@
|
|||||||
# the remote host, which puts the fact into the hostvars of that host.
|
# 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
|
# Now that we're running on localhost, we need to reach in to the remote
|
||||||
# hosts vars to get the value.
|
# hosts vars to get the value.
|
||||||
- name: Upload to npm
|
- block:
|
||||||
include_role:
|
- name: Upload to npm
|
||||||
name: upload-npm
|
include_role:
|
||||||
|
name: upload-npm
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
Reference in New Issue
Block a user