# HG changeset patch # User ymh # Date 1560523735 -7200 # Node ID 36bdc6e0deb15f457ef77eaffbcdbabc99ed651e # Parent 85cc15f99376aeb91b7d3bf97e5e5201fd5a9197 add language update for site and admin user in deploy_db diff -r 85cc15f99376 -r 36bdc6e0deb1 deploy/deploy_db.yml --- a/deploy/deploy_db.yml Fri Jun 14 16:20:26 2019 +0200 +++ b/deploy/deploy_db.yml Fri Jun 14 16:48:55 2019 +0200 @@ -73,6 +73,17 @@ args: chdir: "{{remote_path}}" + - name: Set site in french + command: + argv: + - "{{remote_path}}/vendor/bin/wp" + - site + - switch-language + - fr_FR + args: + chdir: "{{remote_path}}" + + - name: update admin password command: argv: @@ -85,6 +96,18 @@ args: chdir: "{{remote_path}}" + - name: update admin language + command: + argv: + - "{{remote_path}}/vendor/bin/wp" + - user + - update + - "{{rc_admin_user_id}}" + - "--locale=en_US" + - --skip-email + args: + chdir: "{{remote_path}}" + - name: flush cache command: argv: