remove 'Debian' from task-names

This commit is contained in:
AnsibleGuy 2023-05-13 22:20:28 +02:00
parent 57b3c7e955
commit a2ae4323ae
No known key found for this signature in database
GPG Key ID: 52984C069F5AD3CD
1 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
---
- name: ZoneMinder | Debian | Webserver | Managing Apache2
- name: ZoneMinder | Webserver | Managing Apache2
ansible.builtin.include_role:
name: ansibleguy.infra_apache
vars:
@ -17,7 +17,7 @@
apply:
tags: [config, certs]
- name: ZoneMinder | Debian | Webserver | Adding apache app-config
- name: ZoneMinder | Webserver | Adding apache app-config
ansible.builtin.template:
src: 'templates/etc/apache2/sites-available/zoneminder.conf.j2'
dest: "/etc/apache2/sites-available/site_{{ ZM_CONFIG.apache.file }}_app.conf"
@ -25,14 +25,14 @@
group: 'root'
mode: 0644
- name: ZoneMinder | Debian | Webserver | Configuring php timezone to configured one
- name: ZoneMinder | Webserver | Configuring php timezone to configured one
ansible.builtin.lineinfile:
path: "/etc/php/{{ ZM_HC.php_version }}/apache2/php.ini"
line: "date.timezone = {{ ZM_CONFIG.timezone }}"
regexp: "^date.timezone"
when: ZM_CONFIG.timezone not in NONE_VALUES
- name: ZoneMinder | Debian | Webserver | Getting local timezone
- name: ZoneMinder | Webserver | Getting local timezone
ansible.builtin.shell: |
set -o pipefail
timedatectl | grep 'Time zone' | cut -d':' -f2 | cut -d' ' -f2
@ -45,14 +45,14 @@
executable: '/bin/bash'
when: ZM_CONFIG.timezone in NONE_VALUES
- name: ZoneMinder | Debian | Webserver | Configuring php timezone to locally used one
- name: ZoneMinder | Webserver | Configuring php timezone to locally used one
ansible.builtin.lineinfile:
path: "/etc/php/{{ ZM_HC.php_version }}/apache2/php.ini"
line: "date.timezone = {{ controller_tz.stdout }}"
regexp: "^date.timezone"
when: ZM_CONFIG.timezone in NONE_VALUES
- name: ZoneMinder | Debian | Webserver | Restarting webserver
- name: ZoneMinder | Webserver | Restarting webserver
ansible.builtin.systemd:
name: 'apache2.service'
state: restarted