Wrap upload-npm invocation in a block
Before ansible 2.7 this is needed for the delegate_to to apply.
# 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.
+ - block:
- name: Upload to npm
include_role:
name: upload-npm
