🐢 Show some appreciation

See http://www.gnuterrypratchett.com/
This commit is contained in:
Stefan Haun 2022-11-18 17:47:28 +01:00
parent c6cae71cd3
commit 04c68cd410
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<IfModule headers_module>
Header Set X-Clacks-Overhead "GNU Terry Pratchett"
</IfModule>

View file

@ -0,0 +1,6 @@
# Handlers for role apache
---
- name: restart apache2
service:
name: apache2
state: restarted

View file

@ -15,3 +15,21 @@
- headers - headers
- proxy_http - proxy_http
- proxy_wstunnel - proxy_wstunnel
- name: Create configuration for GNU-TP header
ansible.builtin.copy:
src: files/gnu-tp.conf
dest: /etc/apache2/conf-available/gnu-tp.conf
mode: "0644"
owner: root
group: root
notify: restart apache2
- name: Add symlink to enable configuration
ansible.builtin.file:
src: ../conf-available/gnu-tp.conf
dest: /etc/apache2/conf-enabled/gnu-tp.conf
state: link
owner: root
group: root
notify: restart apache2