From b2a2bf0abd86e3429eebdecb10856c41bec7130d Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Wed, 6 Sep 2023 23:33:53 +0100 Subject: [PATCH] add handlers --- handlers/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 handlers/main.yml diff --git a/handlers/main.yml b/handlers/main.yml new file mode 100644 index 0000000..6a34e24 --- /dev/null +++ b/handlers/main.yml @@ -0,0 +1,16 @@ +# Copyright 2018-2023 Chris Croome +# +# This file is part of the Webarchitects Apache Ansible role. +# +# The Webarchitects Apache Ansible role is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. +# +# The Webarchitects Apache Ansible role is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with the Webarchitects Apache Ansible role. If not, see <https://www.gnu.org/licenses/>. +--- +- name: Restart Apache + ansible.builtin.service: + name: apache2 + state: restarted + listen: Restart Apache +... -- GitLab