File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 5050 remote_src : true
5151 changed_when : false
5252
53- - name : Edit requirements.txt in netbox shared path
54- ansible.builtin.replace :
55- path : " {{ netbox_shared_path }}/requirements.txt"
56- regexp : ' ^({{ item | regex_replace("([<>=!~] .*)", "") }})[<>=!~] .*'
57- replace : ' \1'
53+ - name : Override exact version requirements in shared path's requirements.txt if conflicting constraint is specified
54+ ansible.builtin.replace :
55+ path : " {{ netbox_shared_path }}/requirements.txt"
56+ regexp : ' ^({{ item | regex_replace("(== .*)", "") }})== .*'
57+ replace : ' \1'
5858 loop : " {{ netbox_pip_constraints }}"
5959 changed_when : false
60- when : " '[<>=!~] ' in item"
60+ when : " '== ' in item"
6161
6262- name : Install needed Python dependencies
6363 ansible.builtin.pip :
You can’t perform that action at this time.
0 commit comments