Roots Discourse

Default Tagline

So when setting up wordpress_sites.yml you have a few options that can be found in the documentation like site_title. Just wondering if anyone can point me in the right direction so I could also set the sites tagline/description before the sites deployed.

We only support the options that WP-CLI does since we use their install command: https://developer.wordpress.org/cli/commands/core/install/

If you want to set any additional settings I’d look into writing a custom Ansible task which uses WP-CLI to do it since they have a generic command for any setting.

wp cli as ansible task can also be used for installed WordPress core/plugin/theme language packs:


You can find examples for using wp cli with trellis (ansible).

Also related:


https://developer.wordpress.org/cli/commands/option/

cheers guys that gives me a decent starting point still getting my head round working with trellis.

This topic was automatically closed after 42 days. New replies are no longer allowed.