Skip to content

Commit

Permalink
Update obsolete Ansible syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxp committed Nov 19, 2021
1 parent 50a98aa commit d68f018
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
target: "{{ webserver_document_root }}/matomo.sql"
state: import
ignore_errors: yes
when: motomo_sql_dump_create | changed
when: motomo_sql_dump_create is changed

# create config.ini.php with default settings
- name: Create config.ini.php
Expand Down
5 changes: 4 additions & 1 deletion roles/internal/webserver-app/tasks/jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
- jwt.config.yml
- key.key.islandora_rsa_key.yml
register: drupal_jwt_config

# Workaround for error validating configurations in islandora_defaults.
- name: Enable Bartik
command: "{{ drush_path }} --root {{ drupal_core_path }} theme:enable bartik -y"

- name: Import JWT Config Into Drupal
command: "{{ drush_path }} --root {{ drupal_core_path }} config-import -y --partial --source={{ webserver_app_jwt_config_path }}"
when: drupal_jwt_config.changed is defined and drupal_jwt_config.changed

0 comments on commit d68f018

Please sign in to comment.