Johannes Rothe 649e48930e
Add ansible roles and playbook to setup LEMP stack
Ansible roles added:
 * nginx
 * php
 * mysql
 * wordpress

Additionally adds a Vagrantfile to setup two machines using the new
playbook for testing.
2023-08-17 20:54:40 +02:00

20 lines
328 B
YAML

---
- name: Setup LEMP stack
hosts: all
vars_files:
- vault.yaml
vars:
server_name: wordpress-jr.senecops.com
wordpress:
dir: /var/www/html/wordpress
db_name: wordpress
db_user: wp
db_pass: 12345678
php:
version: 8.1
roles:
- nginx
- mysql
- php
- wordpress