From f5b04e733fb249086029bcb3f19d920edf5c115c Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Mon, 1 Feb 2021 15:54:17 +0100 Subject: [PATCH] gitlab-ci-cd/drupal#12 New script to reset locales in a Drupal site --- scripts/drupal-reset-locale.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/drupal-reset-locale.yml diff --git a/scripts/drupal-reset-locale.yml b/scripts/drupal-reset-locale.yml new file mode 100644 index 00000000..8b135310 --- /dev/null +++ b/scripts/drupal-reset-locale.yml @@ -0,0 +1,33 @@ +--- + +description: Reset Locales Drupal sites +cli: + arguments: + - name: limit + default: no + help: The hostname on which to re-reploy Drupal + - name: site + default: no + help: The id of a site +arguments: + playbook: role + roles_exclude: + - commonauth + - commonconnect + - common + - php + - apache +command: + - name: extra-vars + value: hostslimit=%s role=drupal + args: + - limit + - name: extra-vars + condition: site + value: limit_site=%s + args: + - site + - name: start-at-task + value: Drupal Role + - name: tags + value: 'reset-locale' -- GitLab