Feat: remove userdir task file
This commit is contained in:
parent
836d079a0a
commit
7ebd1be9fd
@ -1,10 +0,0 @@
|
|||||||
<IfModule mod_userdir.c>
|
|
||||||
UserDir public_html
|
|
||||||
UserDir disabled root
|
|
||||||
|
|
||||||
<Directory /home/*/public_html>
|
|
||||||
AllowOverride All
|
|
||||||
Options MultiViews Indexes SymLinksIfOwnerMatch
|
|
||||||
Require all granted
|
|
||||||
</Directory>
|
|
||||||
</IfModule>
|
|
@ -4,10 +4,11 @@
|
|||||||
become: true
|
become: true
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/default.yml
|
- vars/default.yml
|
||||||
|
#- vars/accounts.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: tasks/lamp.yml
|
- include: tasks/lamp.yml
|
||||||
- include: tasks/userdir.yml
|
# - include: tasks/accounts.yml
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: Reload Apache
|
- name: Reload Apache
|
||||||
|
@ -70,3 +70,7 @@
|
|||||||
vars:
|
vars:
|
||||||
name: "la SNT"
|
name: "la SNT"
|
||||||
|
|
||||||
|
- name: Enable userdir
|
||||||
|
shell: /usr/sbin/a2enmod userdir
|
||||||
|
notify: Reload Apache
|
||||||
|
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Enable userdir
|
|
||||||
shell: /usr/sbin/a2enmod 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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user