Skip to content

Ansible Playbook for deploying WordPress using InMotion's optimized UltraStack foundation

License

Notifications You must be signed in to change notification settings

inmotionhosting/wordpress-ultrastack-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8655e27 · Jan 17, 2024

History

53 Commits
Feb 15, 2021
Feb 15, 2021
Mar 10, 2020
Jan 17, 2024
Feb 15, 2021
Jun 8, 2020
Feb 15, 2021
Feb 15, 2021
Feb 15, 2021

Repository files navigation

InMotion Hosting Ultrastack

Ansible Playbook: WordPress UltraStack

This Ansible playbook deploys WordPress using either an optimized LAMP stack or the suite of utilities that drive the heavily-optimized InMotion UltraStack.

File Description
ansible.cfg Ansible configuration file.
inventory.sample.yml Sample Ansible inventory.
requirements.txt Required Python dependencies.
requirements.yml Required Ansible dependencies.

Usage

Quick Start

  1. Install Python dependencies using virtualenv:

    $ virtualenv venv
    $ source venv/bin/activate
    (venv) $ pip install -r requirements.txt
  2. Install Ansible dependencies:

    $ ansible-galaxy install -r requirements.yml
  3. Copy inventory.sample.yml:

    $ cp inventory{.sample,}.yml
  4. Edit your inventory.yml:

    # Feel free to use your preferred editor
    $ vi inventory.yml

    In the inventory.yml file created in the last step, you will need to edit the placeholder values. At minimum, you will need to change the reference to domain.tld: under hosts:

    $ diff inventory.sample.yml inventory.yml
    22c22
    <     domain.tld:
    ---
    >     a-real-domain.tld:
  5. Run the playbook:

    $ ansible-playbook -i inventory.yml site.yml

Update

To grab the latest copy of the Playbook and update an existing deployment, you may use the following steps:

  1. Pull any changes to the playbook:

    $ git pull origin master
  2. Update the Python dependencies:

    $ pip install -Ur requirements.txt
  3. Update the Playbook dependencies:

    $ ansible-galaxy install -r requirements.yml --force
  4. Run the Playbook:

    $ ansible-playbook -i inventory.yml site.yml

About

Ansible Playbook for deploying WordPress using InMotion's optimized UltraStack foundation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published