From ba8f47e2a56c223b619f25804685dc0a48865bac Mon Sep 17 00:00:00 2001 From: Trevor Oke Date: Mon, 21 Oct 2013 18:07:38 -0400 Subject: [PATCH] move hosts to hosts.example - move hosts file - add gitignore for hosts - this modification will allow admins to add their own hosts without worrying about accidentally uploading them to external servers. --- .gitignore | 1 + wordpress-nginx/README.md | 5 +++-- wordpress-nginx/{hosts => hosts.example} | 0 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .gitignore rename wordpress-nginx/{hosts => hosts.example} (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..49535f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wordpress-nginx/hosts diff --git a/wordpress-nginx/README.md b/wordpress-nginx/README.md index 0f9531c..037e776 100644 --- a/wordpress-nginx/README.md +++ b/wordpress-nginx/README.md @@ -5,8 +5,9 @@ These playbooks deploy a simple all-in-one configuration of the popular Wordpress blogging platform and CMS, frontend by the Nginx web server and the -PHP-FPM process manager. To use, edit the "hosts" inventory file to include the -names of the servers you want to deploy. +PHP-FPM process manager. To use, copy the 'hosts.example' file to 'hosts' and +edit the `hosts` inventory file to include the names or URLs of the servers +you want to deploy. Then run the playbook, like this: diff --git a/wordpress-nginx/hosts b/wordpress-nginx/hosts.example similarity index 100% rename from wordpress-nginx/hosts rename to wordpress-nginx/hosts.example