Johannes Rothe
649e48930e
Ansible roles added: * nginx * php * mysql * wordpress Additionally adds a Vagrantfile to setup two machines using the new playbook for testing.
20 lines
328 B
YAML
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
|