This role install and configure Wordpress CMS to your Ubuntu server.
Prepared and configured Linux server with the following installed soft:
- Nginx
- MySQL
- PHP
- Ansible 2.7 or higher (on local machine which will execute Ansible playbooks)
See some topics for this such as:
mysql_version
# Version of MySQL to be installed thought the playing this Ansible roledb_user
# Name of Wordpress database owner-userdb_name
# Name of database for Wordpressdb_password
# Password of databasedb_host
# Database hostdb_user_priv
# Privileges that you will grant to your database usernginx_version
# Nginx (Web-server) version to be installed thought the playing this Ansible roleuser
# Name of remote user that you want to creategroup
# Group for created remote useryour_domain
# Your site ip-address or domain namephp-fpm_version
# Version of PHP that you want to installwordpress_version
# Wordress release version
- hosts: servers
become: yes
vars_file:
- vars/main.yml
roles:
- { role: ansible-wordpress }