--- 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: