diff --git a/docs/roles/_init.md b/docs/roles/_init.md index 2f3f43ee..867b8e59 100644 --- a/docs/roles/_init.md +++ b/docs/roles/_init.md @@ -16,8 +16,6 @@ deploy_user: deploy # if you are using ce-provision to deploy infrastructure thi _mysqldump_params: "--max-allowed-packet=128M --single-transaction --skip-opt -e --quick --skip-disable-keys --skip-add-locks -C -a --add-drop-table" # @TODO only used by Drupal 7, can be removed with Drupal 7 deployments bin_directory: "/home/{{ deploy_user }}/.bin" -# Number of dumps/db to look up for cleanup. -cleanup_history_depth: 50 install_php_cachetool: true # set to false if you don't need cachetool, e.g. for a nodejs app ce_deploy_version: 1.x ce_provision_version: 2.x # the version of ce-provision to grab files from when roles are shared diff --git a/roles/_init/README.md b/roles/_init/README.md index 2f3f43ee..867b8e59 100644 --- a/roles/_init/README.md +++ b/roles/_init/README.md @@ -16,8 +16,6 @@ deploy_user: deploy # if you are using ce-provision to deploy infrastructure thi _mysqldump_params: "--max-allowed-packet=128M --single-transaction --skip-opt -e --quick --skip-disable-keys --skip-add-locks -C -a --add-drop-table" # @TODO only used by Drupal 7, can be removed with Drupal 7 deployments bin_directory: "/home/{{ deploy_user }}/.bin" -# Number of dumps/db to look up for cleanup. -cleanup_history_depth: 50 install_php_cachetool: true # set to false if you don't need cachetool, e.g. for a nodejs app ce_deploy_version: 1.x ce_provision_version: 2.x # the version of ce-provision to grab files from when roles are shared diff --git a/roles/_init/defaults/main.yml b/roles/_init/defaults/main.yml index 24cc103f..d9e4fdf4 100644 --- a/roles/_init/defaults/main.yml +++ b/roles/_init/defaults/main.yml @@ -5,8 +5,6 @@ deploy_user: deploy # if you are using ce-provision to deploy infrastructure thi _mysqldump_params: "--max-allowed-packet=128M --single-transaction --skip-opt -e --quick --skip-disable-keys --skip-add-locks -C -a --add-drop-table" # @TODO only used by Drupal 7, can be removed with Drupal 7 deployments bin_directory: "/home/{{ deploy_user }}/.bin" -# Number of dumps/db to look up for cleanup. -cleanup_history_depth: 50 install_php_cachetool: true # set to false if you don't need cachetool, e.g. for a nodejs app ce_deploy_version: 1.x ce_provision_version: 2.x # the version of ce-provision to grab files from when roles are shared diff --git a/roles/database_backup/database_backup-mysql/tasks/cleanup.yml b/roles/database_backup/database_backup-mysql/tasks/cleanup.yml index b8d2e455..c999b937 100644 --- a/roles/database_backup/database_backup-mysql/tasks/cleanup.yml +++ b/roles/database_backup/database_backup-mysql/tasks/cleanup.yml @@ -16,7 +16,7 @@ - ansible.builtin.include_tasks: "cleanup-{{ mysql_backup.handling }}.yml" when: database.is_replica is not defined -- name: Delete mysql users. +- name: Delete MySQL users. community.mysql.mysql_user: name: "{{ database.user }}_{{ item }}" host_all: true