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 @@ -3,7 +3,8 @@
# this will ensure defaults to other roles too.
# If you are using ce-provision to deploy infrastructure this must match the `user_deploy.username` variable
deploy_user: "deploy"
_mysqldump_params: "--set-gtid-purged=OFF --skip-definer --max-allowed-packet=128M --single-transaction --skip-opt -e --quick --skip-disable-keys --skip-add-locks -C -a --add-drop-table"
# for MySQL CE you might want to add '--set-gtid-purged=OFF --skip-definer' here
_mysqldump_params: "--max-allowed-packet=128M --single-transaction --skip-opt -e --quick --skip-disable-keys --skip-add-locks -C -a --add-drop-table"
drupal:
sites:
- folder: "default"
Expand Down
2 changes: 1 addition & 1 deletion roles/deploy_code/tasks/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
- name: Check if we have a mount already.
ansible.builtin.shell:
cmd: "mount | grep {{ deploy_base_path }}"
ignore_errors: true
failed_when: false
register: _deploy_code_mount_check
when:
- deploy_code.mount_sync is defined
Expand Down
4 changes: 2 additions & 2 deletions roles/lhci_run/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
- name: Check if 'lhci' is available.
ansible.builtin.command: "which lhci"
register: _lhci_run_check_result
ignore_errors: true
failed_when: false

- name: Check if 'Xvfb' is running.
ansible.builtin.shell: "pgrep Xvfb"
register: _lhci_run_check_xvfb_result
ignore_errors: true
failed_when: false
when:
- _lhci_run_check_result.rc == 0

Expand Down