Skip to content

raythomas/wordpress-contained

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to WordPress-Contained!

The main goal of WordPress-Contained is to get a WordPress blog up and running as quickly as possible. The tool we use to Orchestrate this process is Ansible and the tool we use to "Contain" our blog is Docker.


Prerequisites

To execute Ansible Playbook it will be assumed that you have the following tasks completed:

Task to be completed before hand:

Step 1 -- Configure your local playbook

1.) Make sure to put all servers that you want push changes to into the "hosts" file within the playbook. Specify the under the "[RHEL7]" group. I named mine "unicorn"

  • [RHEL7] unicorn.mysite.internal
  • Ping Test(type): ansible -m ping RHEL7 -u SudoUser -K -i hosts

2.) Within the "group_var/all.yml" file change passwords for the following

  • mysql_root_password
  • wordpress_mysql_root_password

Step 2 -- Run your Ansible Playbook

1.) cd into the WordPress playbook (there should be a site.yml file present): 2.) Execute the playbook with a user account that has SUDO access.

  • type: cd wordpress-contained
  • type: ansible-playbook -i hosts site.yml -u SudoUser -K -l RHEL7

Step 3 -- Verify that you can log into your WordPress and PHPMyAdmin sites.

Authors


This was created by Ray Thomas (ray.thomas@gmail.com).

About

This is an Ansible playbook that automates a Wordpress install via Ansbile and Docker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors