From 75652fe560e1276b35be2fd9b8d8db1a7f7a69b8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 19 Feb 2020 00:58:41 +0000 Subject: [PATCH] Split args onto separate lines --- tools/ansible/deploy/after-update-code.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/ansible/deploy/after-update-code.yml b/tools/ansible/deploy/after-update-code.yml index 64c32b2..f03c31c 100644 --- a/tools/ansible/deploy/after-update-code.yml +++ b/tools/ansible/deploy/after-update-code.yml @@ -9,10 +9,16 @@ name: opdavies.drupal_settings_files - name: Import configuration - command: '{{ release_drush_path }} config-import -y chdir={{ release_web_path }}' + command: '{{ release_drush_path }} config-import -y' + args: + chdir: '{{ release_web_path }}' - name: Run database updates - command: '{{ release_drush_path }} updatedb -y chdir={{ release_web_path }}' + command: '{{ release_drush_path }} updatedb -y' + args: + chdir: '{{ release_web_path }}' - name: Rebuild cache - command: '{{ release_drush_path }} cache-rebuild chdir={{ release_web_path }}' + command: '{{ release_drush_path }} cache-rebuild' + args: + chdir: '{{ release_web_path }}'