CMS variables
Ideally we would have something like this:
users_apache_virtual_hosts:
wordpress:
users_apache_server_name: "wordpress.{{ inventory_hostname }}"
users_cms_role: wordpress
users_cms_path: /blog # If this is omitted it defaults to /
users_cms_role_vars:
wordpress_dbname: wordpress
wordpress_dbuser: blog
wordpress_dbprefix: wp_
wordpress_locale: en_GB
wordpress_url: "https://wordpress.{{ inventory_hostname }}"
wordpress_title: My Blog
wordpress_admin_user: admin
wordpress_admin_email: chris@webarchitects.co.uk
wordpress_notify: false
Where the users_cms
includes the role using the users_cms_vars
.
Rather than the duplication we have currently.