deploy/deploy_db.yml
changeset 20 36bdc6e0deb1
parent 14 30f2ac9a7656
equal deleted inserted replaced
19:85cc15f99376 20:36bdc6e0deb1
    71           - delete
    71           - delete
    72           - _site_transient_theme_roots
    72           - _site_transient_theme_roots
    73       args:
    73       args:
    74         chdir: "{{remote_path}}"
    74         chdir: "{{remote_path}}"
    75 
    75 
       
    76     - name: Set site in french
       
    77       command:
       
    78         argv:
       
    79           - "{{remote_path}}/vendor/bin/wp"
       
    80           - site
       
    81           - switch-language
       
    82           - fr_FR
       
    83       args:
       
    84         chdir: "{{remote_path}}"
       
    85 
       
    86 
    76     - name: update admin password
    87     - name: update admin password
    77       command:
    88       command:
    78         argv:
    89         argv:
    79           - "{{remote_path}}/vendor/bin/wp"
    90           - "{{remote_path}}/vendor/bin/wp"
    80           - user
    91           - user
    81           - update
    92           - update
    82           - "{{rc_admin_user_id}}"
    93           - "{{rc_admin_user_id}}"
    83           - "--user_pass={{rc_admin_user_pswd}}"
    94           - "--user_pass={{rc_admin_user_pswd}}"
       
    95           - --skip-email
       
    96       args:
       
    97         chdir: "{{remote_path}}"
       
    98 
       
    99     - name: update admin language
       
   100       command:
       
   101         argv:
       
   102           - "{{remote_path}}/vendor/bin/wp"
       
   103           - user
       
   104           - update
       
   105           - "{{rc_admin_user_id}}"
       
   106           - "--locale=en_US"
    84           - --skip-email
   107           - --skip-email
    85       args:
   108       args:
    86         chdir: "{{remote_path}}"
   109         chdir: "{{remote_path}}"
    87 
   110 
    88     - name: flush cache
   111     - name: flush cache