Skip to content

Commit

Permalink
ZAR-1034
Browse files Browse the repository at this point in the history
Moved WebSSO configuration step before flush cache
  • Loading branch information
aario-sitewards authored Dec 17, 2019
1 parent b0ad381 commit 4c67410
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tasks/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@
EOF
with_items: "{{ magento_core_config_data }}"

- name: "Configure webSSO"
become: "yes"
become_user: "{{ magento_user }}"
command: "/usr/bin/php {{ magento_app_root }}/bin/magento websso:configure"
when: magento_sso_oauth_credentials is defined

- name: "Flush the Magento caches"
become: "yes"
become_user: "{{ magento_user }}"
Expand All @@ -217,12 +223,6 @@
command: "/usr/bin/php {{ magento_app_root }}/bin/magento indexer:reindex"
when: magento_db_status.stdout_lines|length == 0 or magento_force_reindex_on_deploy == True

- name: "Configure webSSO"
become: "yes"
become_user: "{{ magento_user }}"
command: "/usr/bin/php {{ magento_app_root }}/bin/magento websso:configure"
when: magento_sso_oauth_credentials is defined

- name: "Disable maintenance mode"
file:
path: "{{ magento_release_folder }}/{{ magento_release_version }}/var/.maintenance.flag"
Expand Down

0 comments on commit 4c67410

Please sign in to comment.