meta: add webserver dep

This commit is contained in:
genofire 2020-07-21 02:29:22 +02:00
parent 49182fff0b
commit 9bf0abd3e5
3 changed files with 26 additions and 0 deletions

2
meta/main.yml Normal file
View File

@ -0,0 +1,2 @@
dependencies:
- role: webserver

View File

@ -0,0 +1,6 @@
- name: package
package:
name:
- postgresql
- postfixadmin
- php-fpm

View File

@ -1,3 +1,21 @@
---
- name: create vmail group
group:
name: vmail
gid: 5000
state: present
system: yes
- name: create vmail user
user:
name: vmail
uid: 5000
group: vmail
state: present
system: yes
shell: /usr/bin/nologin
home: /srv/mail
- name: Run userdatabase - name: Run userdatabase
import_tasks: db.yml import_tasks: db.yml