Created
April 24, 2018 13:23
-
-
Save jffz/56f83ceb49668033322b19410acb52ff 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
- name: "Replace pistoldm Files" | |
uri: | |
url: "https://{{ git.server }}/{{ git.project }}/raw/master/{{ item[1] }}/{{ item[0].path | regex_search('csgo/.*') | dirname }}/{{ to_update }}" | |
headers: | |
PRIVATE-TOKEN: "{{ git.token }}" | |
status_code: 200 | |
dest: "{{ item[0].path }}" | |
when: "item[0] is defined and item[0].path is defined" | |
with_nested: | |
- "{{ files_to_update.results | map(attribute='files') | list }}" | |
- [ 'common', 'pistoldm' ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment