Newer
Older
Ansible role for installing Wordpress. It installs Nginx and PHP-FPM as well.
Backups of the Wordpress installation is done daily. Theme and plugin
installation is done via filesystem, no FTP access is provisioned. A MySQL
account and database is created during the run.
::
wordpress_fqdn: {{ ansible_fqdn }} #Site FQDN.
wordpress_mysql_server: #Address for the MySQL server.
wordpress_mysql_user: #MySQL admin username.
wordpress_mysql_password: #MySQL admin password.
`Common role <https://git.shore.co.il/ansible/common/>`_
`Nginx role <https://git.shore.co.il/ansible/nginx/>`_
- role: mysql
mysql_admin_password: qwerty123
- role: wordpress
wordpress_fqdn: blog.example.com
wordpress_password: pa55w0rd
wordpress_mysql_server: localhost
wordpress_mysql_admin_user: admin
wordpress_mysql_admin_password: qwerty123
Example requirements.yml
------------------------
::
This software is licnesed under the MIT licese (see the ``LICENSE.txt`` file).
Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
- Depend on Nginx and common roles
- Use new MySQL admin account.
- Enforce TLS on MySQL connection