Created
July 27, 2017 13:22
-
-
Save printesoi/db3acfc73a98489cf39cc967b282ac14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: target | |
tasks: | |
- name: download the file on the local machine | |
get_url: | |
url: http://code.jquery.com/jquery-3.2.1.js | |
dest: /tmp/jquery.js | |
delegate_to: localhost | |
- name: copy the file to the target machine | |
copy: | |
src: /tmp/jquery.js | |
dest: /opt/jquery.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment