serveur_lycee/tasks/userdir.yml

12 lines
249 B
YAML

---
- name: Enable userdir
shell: /usr/sbin/a2mod userdir
notify: Reload Apache
- name: Set up userdir virtualhost
template:
src: "files/userdir.conf.j2"
dest: "/etc/apache2/mods-enabled/userdir.conf"
notify: Reload Apache