forked from roots/trellis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.yml
More file actions
30 lines (29 loc) · 1021 Bytes
/
server.yml
File metadata and controls
30 lines (29 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
- name: Determine Remote User
hosts: web
gather_facts: false
roles:
- { role: remote-user, tags: [remote-user, always] }
- name: WordPress Server - Install LEMP Stack with PHP 5.6 and MariaDB MySQL
hosts: web
sudo: yes
vars_files:
- vars/sudoer_passwords.yml
roles:
- { role: common, tags: [common] }
- { role: swapfile, swapfile_size: 1GB, tags: [swapfile] }
- { role: fail2ban, tags: [fail2ban] }
- { role: ferm, tags: [ferm] }
- { role: ntp }
- { role: users, tags: [users] }
- { role: sshd, tags: [sshd] }
- { role: mariadb, tags: [mariadb] }
- { role: ssmtp, tags: [ssmtp mail] }
- { role: php, when: not hhvm, tags: [php] }
- { role: hhvm, when: hhvm, tags: [hhvm] }
- { role: nginx, tags: [nginx] }
- { role: logrotate, tags: [logrotate] }
- { role: memcached, tags: [memcached] }
- { role: composer, tags: [composer] }
- { role: wp-cli, tags: [wp-cli] }
- { role: wordpress-setup, tags: [wordpress, wordpress-setup] }