remove flag --allow-root when possible with WP-CLI
Few times the flag --allow-root is used with WP-CLI when :
-
rootis used to execute, but it is probably not required -
userattribute is defined inexec
Examples :
- https://gitlab.adullact.net/adullact/puppet-wordpress/blob/master/manifests/core.pp#L187
- https://gitlab.adullact.net/adullact/puppet-wordpress/blob/master/manifests/core.pp#L200
A review about this is needed.