File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{% if include_local_env | default (false ) %}
22"@{{ env }}":
33 ssh: "{{ local_hostname_alias }}"
4- path: "{{ www_root + '/' + item.key | regex_replace('^~\/','') }}/{{ item.value.current_path | default('current') }}/{{ item.value.public_path | default('web') }}/wp"
4+ path: "{{ project_root | default( www_root + '/' + item.key) | regex_replace('^~\/','') }}/{{ item.value.current_path | default('current') }}/{{ item.value.public_path | default('web') }}/wp"
55{% else %}
66"@{{ env }}":
77 ssh: "{{ web_user }}@{{ ansible_host }}:{{ ansible_port | default('22') }}"
8- path: "{{ www_root + '/' + item.key | regex_replace('^~\/','') }}/{{ item.value.current_path | default('current') }}/{{ item.value.public_path | default('web') }}/wp"
8+ path: "{{ project_root | default( www_root + '/' + item.key) | regex_replace('^~\/','') }}/{{ item.value.current_path | default('current') }}/{{ item.value.public_path | default('web') }}/wp"
99{% endif %}
You can’t perform that action at this time.
0 commit comments