https://github.com/euank/meruplaybook
A playbook for setting up email on a server; Work in Progress
https://github.com/euank/meruplaybook
Last synced: 6 months ago
JSON representation
A playbook for setting up email on a server; Work in Progress
- Host: GitHub
- URL: https://github.com/euank/meruplaybook
- Owner: euank
- Created: 2014-06-01T18:19:28.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-01T18:27:42.000Z (about 12 years ago)
- Last Synced: 2025-01-24T17:19:51.985Z (over 1 year ago)
- Language: SQL
- Size: 141 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
meruplaybook
============
This is the role for setting up some mail server.
I would not recommend using this at this time.
## Usage
First, setup an ubuntu 14.04 host (todo, support centos / debian 7). We'll
assume your host is named 'meru' and that your mail server has an MX record for
example.com and an A record for mx.example.com pointing to it.
```
git clone https://github.com/euank/meruplaybook.git roles/meru
cat < roles.yml
---
- hosts: meru
roles: meru
EOF
mkdir group_vars
cat < group_vars/all
---
server_hostname: mx.example.com
server_domainname: example.com
mysql_root_password: password
mysql_mail_user: meru
mysql_mail_password: strong-password
mysql_mail_db: meru
EOF
```
After that, running `ansible-playbook roles.yml` should work. Probably.