Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/marta-barea/ansible-wordpress-deployment
- Owner: Marta-Barea
- License: gpl-3.0
- Created: 2023-02-23T18:40:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-06T11:21:20.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T07:23:03.849Z (4 months ago)
- Topics: ansible, ansible-playbook, ansible-roles, mysql, nginx, wordpress
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.