No description
Find a file
TheRealDarklord f231ecc8c8 fix: updated requirements
Added explicitly required collections so they can be installed in environments where only minimal ansible collections are available.
2025-03-01 22:47:39 +01:00
defaults fix: fixed linter issues 2024-11-03 18:39:20 +01:00
handlers fix: fixed linter issues 2024-11-03 18:39:20 +01:00
meta fix: updated requirements 2025-03-01 22:47:39 +01:00
tasks fix: fixed linter issues 2024-11-03 18:39:20 +01:00
templates/conf feat: simple http proxy 2024-01-06 12:28:20 +01:00
vars fix: fixed linter issues 2024-11-03 18:39:20 +01:00
README.md feat: simple http proxy 2024-01-06 12:28:20 +01:00

therealdarklord.apache_dev

This role sets up apache vhosts with self signed certificates for dev purposes.

Role Variables

Variable Type Default Description
therealdarklord_apache_dev_csr_country_name string "" country name for certificate signing requests
therealdarklord_apache_dev_csr_email_address string "" email address for certificate signing requests
therealdarklord_apache_dev_csr_locality_name string "" locality name name for certificate signing requests
therealdarklord_apache_dev_csr_organization_name string "" organization name for certificate signing requests
therealdarklord_apache_dev_csr_organizational_unit_name string "" organizational unit name for certificate signing requests
therealdarklord_apache_dev_csr_state_or_province_name string "" state name for certificate signing requests
therealdarklord_apache_dev_config_path string "/root/apache2/" absolute path for where generated apache configs are stored
therealdarklord_apache_dev_php_ini_settings dictionary {} dictionary with php.ini options (key = option name, value = option value)
therealdarklord_apache_dev_project_group string "www-data" group for project related files and directories
therealdarklord_apache_dev_project_owner string "www-data" owner for project related files and directories
therealdarklord_apache_dev_project_mode_directory number 0775 mode for project related directories
therealdarklord_apache_dev_projects dictionary {} dictionary of projects where the key is the name of the project
therealdarklord_apache_dev_projects.NAME.admin string null email address of the server admin for the virtual host
therealdarklord_apache_dev_projects.NAME.content_dir string "" subdirectory for project content, empty for project content within project root directory
therealdarklord_apache_dev_projects.NAME.default_domain_force_https bool null flag to indicate if the default domain for a project shall enforce a redirect to https
therealdarklord_apache_dev_projects.NAME.domains dictionary null dictionary of domains for the project where the key is the domain name
therealdarklord_apache_dev_projects.NAME.domains.NAME.cert string null path to certificate file for ssl/tls
therealdarklord_apache_dev_projects.NAME.domains.NAME.force_https bool null flag to indicate if the project domain shall enforce a redirect to https
therealdarklord_apache_dev_projects.NAME.domains.NAME.pkey string null path to private key for ssl/tls
therealdarklord_apache_dev_projects.NAME.enabled bool null flag to indicate if the apache configuration for the project shall be enabled
therealdarklord_apache_dev_projects.NAME.mode "content" | "rproxy" "content" mode for the vhost; "content" for hosting a content directory, "rproxy" for a reverse proxy
therealdarklord_apache_dev_projects.NAME.proxy dictionary null dictionary with proxy settings, required when mode is "rproxy"
therealdarklord_apache_dev_projects.NAME.proxy.path string "/" path segment of requests for which a proxy request ahll be made
therealdarklord_apache_dev_projects.NAME.proxy.target string null target url where proxy calls are being sent to
therealdarklord_apache_dev_projects_path string "/srv/www/htdocs/" root path for dev projects

License

BSD

Author Information

Markus Reichardt (https://www.therealdarklord.eu)