Renames roles

This commit is contained in:
2025-11-18 14:35:38 +01:00
parent ff82d63bd0
commit 581e3b2a9f
63 changed files with 1165 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# tasks file for apache2
---
- name: install web components
apt: name={{item}} state=present update_cache=yes
with_items:
- apache2
- libapache2-mod-wsgi-py3
- python-pip-whl
- python3-virtualenv
- python3-mysqldb
- name: ensure mod_wsgi enabled
apache2_module: state=present name=wsgi
notify: restart apache2
- name: de-activate default apache site
file: path=/etc/apache2/sites-enabled/000-default.conf state=absent
notify: restart apache2
- name: ensure apache2 started
service: name=apache2 state=started enabled=yes