Trellis multisite install fails on conditional 'No rewrite rules'

I’m installing a Bedrock multisite with Trellis (and Vagrant/Ansible), but it fails at the Ansible playbook task

[wordpress-install | Setup Permalink Structure]

with the error: fatal: [default] => error while evaluating conditional: ‘No rewrite rules’ in wp_permalink_check_results.results.0.stderr

Please find a copy of the repository here:

Perhaps it has something to do with me not understanding this line in the documentation?

“If you are using bedrock: you need to make sure you remove the WP-CLI output from wp-config.php and move it to your config/application.php.”

Which WP-CLI output?

Any thoughts?


1 Like

@pdme Thanks for reporting this. You could try adjusting this when conditional like this: