Commit 201b5bea authored by Vitheavy Samnang's avatar Vitheavy Samnang

[TASK] Support older version of Neos

parent 129fcd4a
......@@ -5,7 +5,7 @@
when: not from_cache|bool
- name: Check local database name
local_action: shell FLOW_CONTEXT={{ local_context }} {{ bin_path }}/dockerflow run -T app ./flow configuration:show --type Settings --path Neos.Flow.persistence.backendOptions | grep 'dbname' | cut -d ' ' -f2
local_action: shell FLOW_CONTEXT={{ local_context }} {{ bin_path }}/dockerflow run -T app ./flow configuration:show --type Settings --path TYPO3.Flow.persistence.backendOptions | grep 'dbname' | cut -d ' ' -f2
chdir="{{ local_path }}"
register: local_db_name
......
......@@ -2,7 +2,7 @@
# tasks file for flow database
- name: Read remote database info (FLOW_CONTEXT=Production)
shell: FLOW_CONTEXT=Production {{ remote_php | default('') }} ./flow configuration:show --type Settings --path Neos.Flow.persistence.backendOptions chdir="{{ remote_path }}"
shell: FLOW_CONTEXT=Production {{ remote_php | default('') }} ./flow configuration:show --type Settings --path TYPO3.Flow.persistence.backendOptions chdir="{{ remote_path }}"
register: db_info
- name: Get remote database host
......
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