Skip to content

Instantly share code, notes, and snippets.

@jffz
Created April 24, 2018 13:23
Show Gist options
  • Save jffz/56f83ceb49668033322b19410acb52ff to your computer and use it in GitHub Desktop.
Save jffz/56f83ceb49668033322b19410acb52ff to your computer and use it in GitHub Desktop.
- 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