From a2ae4323aef5bcb052bd3fa6b94857619146abca Mon Sep 17 00:00:00 2001 From: AnsibleGuy Date: Sat, 13 May 2023 22:20:28 +0200 Subject: [PATCH] remove 'Debian' from task-names --- tasks/debian/web.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/debian/web.yml b/tasks/debian/web.yml index 99452af..e607372 100644 --- a/tasks/debian/web.yml +++ b/tasks/debian/web.yml @@ -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