Commit b6da86dc authored by engineer's avatar engineer
Browse files

Merge branch '66-with_items-deprecation' into orgsafe

parents 7f6761b0 e89a509d
Pipeline #10372 passed with stage
in 1 minute and 16 seconds
......@@ -146,7 +146,7 @@ You might have to edit the following variables to reflect your current site's:
- Set `DB_PREFIX` to the database prefix that your current WordPress uses
- Set `WP_VERSION` to the version of your current WordPress site.
- Check if your current WordPress uses Redis. This is usually the case when you
have the `wp-redis` plugin installed. If so, enable redis in your
have the `redis-cache` plugin installed. If so, enable redis in your
`values-local.yaml` by setting `redis.enabled` to `true`.
After installing, check if your site is available at the URL you specified in
......
......@@ -64,6 +64,7 @@
git:
repo: "{{ WP_MU_CRON_SETTINGS.repo}}"
dest: "{{ WP_CONTENT_DIR }}/{{ WP_MU_PLUGINS_DIR }}/{{ WP_MU_CRON_SETTINGS.slug }}"
force: yes
depth: 1
version: "{{ WP_MU_CRON_SETTINGS.version}}"
when: WP_MU_CRON_ENABLED
......
......@@ -8,7 +8,7 @@
shell: wp {{ cli_args }} config set WP_REDIS_PASSWORD "{{ WP_REDIS_PASSWORD }}" --add --type=constant
- name: Install redis-cache WordPress plugin
shell: wp {{ cli_args }} plugin install wp-redis --activate
shell: wp {{ cli_args }} plugin install redis-cache --activate
- name: Enable redis object cache
shell: wp {{ cli_args }} redis enable
......
......@@ -26,7 +26,7 @@
command: find {{ wordpress_homedir }} -type f -maxdepth 1 \( -iname "\.*" ! -iname "*htaccess" ! -iname "wp-config*" \) -exec chown -c {{ config_user }}:{{ config_group }} {} \;
- name: Config file ownership
command: find {{ config_dir }} -type f \( -iname "*htaccess" -o -iname "wp-config*" \) -exec chown -c {{ config_user }}:{{ config_group }} {} \;
command: find {{ config_dir }} -type f \( -iname "*htaccess" -o -iname "wp-config*" ! -path "*wp-content-mount/.htaccess" \) -exec chown -c {{ config_user }}:{{ config_group }} {} \;
- name: Bulk file permissions
command: find {{ config_dir }} -type f \( -iname "*.*" ! -iname "*htaccess" ! -iname "wp-config*" \) -exec chmod -c {{ mode_0640 }} {} \;
......@@ -34,6 +34,11 @@
- name: Dot file permissions
command: find {{ wordpress_homedir }} -type f -maxdepth 1 \( -iname "\.*" ! -iname "*htaccess" ! -iname "wp-config*" \) -exec chmod -c {{ mode_0440 }} {} \;
- name: Config file permissions
command: find {{ wordpress_homedir }} -type f -maxdepth 1 \( -iname "*htaccess" -o -iname "wp-config*" \) -exec chmod -c {{ mode_0440 }} {} \;
- name: HTaccess file permissions
command: find {{ config_dir }} -type f -maxdepth 1 \( -iname "*htaccess" ! -path "wp-content-mount/.htaccess" \) -exec chmod -c {{ mode_0640 }} {} \;
- name: WPconfig file permission
command: find {{ wordpress_homedir }} -type f -name "wp-config.php" -exec chmod -c {{ mode_0440 }} {} \;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment