From 36277aefb8faee53e3eac5fffc530163252b676f Mon Sep 17 00:00:00 2001 From: ubergeek Date: Fri, 14 Dec 2018 22:06:26 -0500 Subject: [PATCH] adding main playbook --- site.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 site.yml diff --git a/site.yml b/site.yml new file mode 100644 index 00000000..06d27214 --- /dev/null +++ b/site.yml @@ -0,0 +1,25 @@ +--- +# This is the overall site playbook. It will ensure you're all set to go, performing all baseline +# configuration for the machines in the hosts file for ansible + +# We're going to use LXC to do all of this, but just for the tests. You can really get away with +# using VirtualBox or physicals if you like. Make sure you change the remote user to whatever +# you're using as a user created at install time. LXC's default template creates an "ubuntu" user +# on all ubuntu machines. +# +# Our site will consist of two web servers, one DB server, one workstation, and localhost as the +# control station (With LXC's and ansible config). +# +# To ensure DNS resolution is working for your LXC containers, follow this doc: https://blog.carroarmato0.be/2013/11/24/dns-in-ubuntu-lxc/ +# or, change the hosts file in this playbook to use IP's. You're choice. + +- name: Baseline Configuration + hosts: all + remote_user: ubuntu + sudo: yes + + roles: + - common + - webserver + - ssh + - db \ No newline at end of file