/wordpress-nginx-letsencrypt

Ansible playbook to Install WordPress, Nginx and Let'sEncrypt

Creative Commons Zero v1.0 UniversalCC0-1.0

Ansible playbook "wordpress-nginx-letsencrypt"

This playbook is based on ansible-examples, and Original licence.

Overview

Ansible playbook to Install WordPress-ja, MariaDB, PHP7, Nginx on Ubuntu Server.
Set to HTTPS on "Let's Encrypt" module.

Requirements

Ansible 2.4 or newer.
Remote host where Ubuntu server is installed.

Usage

Edit group_vars/all.yml.example and Save as group_vars/all.yml file.
Edit production.example and Save as production.yml file.
Set "ANSIBLE_PUBKEY" environment variable to public key file path.

Expects below commands before run playbooks.

$ ssh-agent bash  
$ ssh-add "PRIVATE KEY FILE"  

First step ONLY.

$ ansible-playbook -i production ansible-user-setup.yml

To setup server

$ ansible-playbook -i production site.yml

Easy to setup WordPress!

Author

Blog