Commit 168baaf2 by John Jarvis

replacing linein with sed

parent 0b7f70db
......@@ -108,12 +108,9 @@
# Substitute github mirror in all requirements files
#
- name: Updating requirements files for git mirror
lineinfile: >
dest={{ item }}
regexp='^(.*)github\.com(.*)$'
line='\1{{ GIT_MIRROR }}\2'
backrefs=yes
- name: Updating requirement files for git mirror
command: >
"sed -i -e 's/github\.com/{{ GIT_MIRROR }}/g' {{ item }}"
with_items:
- "{{ pre_requirements_file }}"
- "{{ post_requirements_file }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment