Skip to content

Commit

Permalink
Use 'remote_src'
Browse files Browse the repository at this point in the history
When the parsoid host is not the controller, the src file is on the remote. Therefore, use remote_src: yes so that Ansible finds the file to copy.
Otherwise, this fails when the Parsoid host in inventory is not the same host as the controller.  In my example setup, I have two application servers and both are designated as Parsoid servers. One is the controller, the other app server is just an app server.
  • Loading branch information
Greg Rundlett authored Apr 25, 2019
1 parent f34a3cd commit 6ae982b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/roles/nodejs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
unarchive:
src: /tmp/node.tar.xz
dest: /usr/local/lib/node
remote_src: yes
extra_opts: [--strip-components=1]
when: "node_version.stdout != 'v8.11.1'"

Expand Down

0 comments on commit 6ae982b

Please sign in to comment.