Giter Club home page Giter Club logo

wordpress-ansible's Introduction

WordPress Ansible

This repository contains a playbook for provisioning modern hosting environments geared towards WordPress. It's based on How to Install WordPress on Ubuntu 20.04. The following is handled out of the box:

  • User setup
  • SSH hardening
  • Firewall setup

It will also install the following software:

  • Nginx with HTTP/2
  • PHP 8.1
  • MySQL
  • Redis
  • WP-CLI
  • Fail2Ban
  • Git

Usage

Configure your hosts file.

[production]
192.168.1.1 #sampledomain.com

Edit provision.yml to configure your default user, hashed sudo password and local public key path. This will create a new user on the provisioned servers that you can use to gain SSH access.

Run:

ansible-playbook provision.yml

wordpress-ansible's People

Contributors

jamesclark32 avatar jonathanbossenger avatar

Stargazers

Ben Browning avatar Morty avatar pumpkineater avatar Danil Lytvyn avatar Christian Dienbauer avatar  avatar Álex Sousa Cruz avatar Benoît Chantre avatar Andrii Trofymchuk avatar  avatar  avatar Ali Darab avatar David Leon avatar Mike Little avatar Andre Kruger avatar  avatar  avatar Sandev Abeykoon avatar Jonas Stettner avatar Joshua Rosato avatar Newton Cardoso avatar Aristides Canelhas avatar Peter Demaria avatar Masami A avatar GB avatar Hans Guthrie avatar Julien Lambé avatar Dylan Hildenbrand avatar

Watchers

Ryan Neudorf avatar George Fehr avatar Ross Wintle avatar Ahmed Hussein avatar  avatar  avatar Phil Webster avatar Daniel Mendoza avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.