Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion roles/_init/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ drupal:
# End Drupal 8 variables
# Drupal 7 variables
revert_features_command: "" # i.e. "fra"
revert_ctools: true
# End Drupal 7 variables
sanitize_command: "sql-sanitize"
base_url: https://www.example.com
Expand All @@ -25,4 +26,4 @@ drupal:
mautic:
image_path: "media/images"
force_install: false
bin_directory: "/home/{{ deploy_user }}/.bin"
bin_directory: "/home/{{ deploy_user }}/.bin"
4 changes: 3 additions & 1 deletion roles/database_apply/database_apply-drupal7/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@
loop_var: site
when:
- previous_build_number > 0
- site.revert_features_command
- site.revert_features_command | length > 0

- name: Revert Drupal configuration with Ctools.
ansible.builtin.include_tasks: ctools.yml
with_items: "{{ drupal.sites }}"
loop_control:
loop_var: site
when:
- site.revert_ctools