Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marta-barea/ansible-wordpress-deployment

Ansible playbook that installs and configures a WordPress site on a Linux server.
https://github.com/marta-barea/ansible-wordpress-deployment

ansible ansible-playbook ansible-roles mysql nginx wordpress

Last synced: 9 days ago
JSON representation

Ansible playbook that installs and configures a WordPress site on a Linux server.

Awesome Lists containing this project

README

        

# ansible-wordpress-deployment

This is an Ansible playbook that installs and configures a WordPress site on a Linux server. It performs the following tasks:

- Installs the UFW firewall and sets up rules to allow inbound traffic on ports 80, 443 (TCP and UDP), and 22023 (TCP).
- Creates a directory for the WordPress installation.
- Downloads the latest version of WordPress and extracts it to the created directory.
- Sets ownership and permissions for the WordPress directory.
- Installs and configures Certbot for obtaining SSL certificates.
- Sets up a cron job to renew SSL certificates.
- Installs and configures the Nginx web server.
- Creates a logs directory for Nginx.
- Configures Nginx for HTTP and HTTPS traffic, with the latter using SSL certificates obtained from Certbot.
- Installs MySQL for PHP and sets up a database for WordPress.