apache config-file (pr #1)

This commit is contained in:
AnsibleGuy 2023-03-23 20:17:33 +01:00
parent 795de6fa81
commit dfde3f73a0
No known key found for this signature in database
GPG Key ID: 52984C069F5AD3CD
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ defaults_zm:
mode: 'serve' # DO NOT CHANGE!
app_include: true # DO NOT CHANGE!
file: 'zoneminder' # /etc/apache2/sites-available/site_${file}_app.conf
ssl: # see: https://github.com/ansibleguy/infra_certs
mode: 'ca' # existing/selfsigned/ca/letsencrypt

View File

@ -20,7 +20,7 @@
- name: ZoneMinder | Debian | Webserver | Adding apache app-config
ansible.builtin.template:
src: 'templates/etc/apache2/sites-available/zoneminder.conf.j2'
dest: '/etc/apache2/sites-available/site_zoneminder_app.conf'
dest: "/etc/apache2/sites-available/site_{{ ZM_CONFIG.apache.file }}_app.conf"
owner: 'root'
group: 'root'
mode: 0644