Update manifest.yml
parent
aa9f46efae
commit
868718cbbe
12
manifest.yml
12
manifest.yml
|
@ -19,7 +19,17 @@ onInstall:
|
||||||
- api [cp]: environment.control.RestartNodes
|
- api [cp]: environment.control.RestartNodes
|
||||||
|
|
||||||
# ${nodes.cp.master.id} to only run on master cluster. Will need to update with WP_REDIS_HOST, WP_REDIS_SCHEME, WP_REDIS_PORT, and password grepped from redis conf
|
# ${nodes.cp.master.id} to only run on master cluster. Will need to update with WP_REDIS_HOST, WP_REDIS_SCHEME, WP_REDIS_PORT, and password grepped from redis conf
|
||||||
|
# - cmd [${nodes.cp.master.id}]: |-
|
||||||
|
# cd /var/www/webroot/ROOT
|
||||||
|
# cd /var/www/webroot/ROOT && wp plugin deactivate litespeed-cache
|
||||||
|
# cd /var/www/webroot/ROOT && wp plugin install redis-cache --activate
|
||||||
|
# cd /var/www/webroot/ROOT && wp config set WP_REDIS_IGNORED_GROUPS "['comment','counts','plugins','themes','wc_session_id','learndash_reports','learndash_admin_profile','bp_messages','bp_messages_threads']" --raw
|
||||||
|
# cd /var/www/webroot/ROOT && wp config set WP_REDIS_SCHEME 'tcp'
|
||||||
|
# cd /var/www/webroot/ROOT && wp config set WP_REDIS_HOST '172.16.3.241'
|
||||||
|
# cd /var/www/webroot/ROOT && wp config set WP_REDIS_PORT 6379 --raw
|
||||||
|
# cd /var/www/webroot/ROOT && wp config set WP_REDIS_PASSWORD '0hj60IrQl6'
|
||||||
|
# cd /var/www/webroot/ROOT && wp redis enable
|
||||||
|
|
||||||
- cmd [cp]: |-
|
- cmd [cp]: |-
|
||||||
cd /var/www/webroot/ROOT
|
cd /var/www/webroot/ROOT
|
||||||
cd /var/www/webroot/ROOT && wp plugin deactivate litespeed-cache
|
cd /var/www/webroot/ROOT && wp plugin deactivate litespeed-cache
|
||||||
|
|
Loading…
Reference in New Issue