forked from RichardCao/logging-for-openstack-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
33 lines (23 loc) · 971 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Software Requiement:
ansible vagrant (suppose virtualbox and ruby are installed)
- Debian
- CentOS
- Mac OSX
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" & brew install ansible (easy_install ansible or pip install ansible)
brew tap phinze/homebrew-cask
brew install brew-cask
brew cask install vagrant
Usage Instructions:
# ./run.sh [Debian | Redhat]
Tested with Vagrant 1.5.2 and Ansible 1.5.4 on OSX 10.9.3
Structure of the Software
/- Vagrantfile.debian (Vagratn file for Ubuntu)
- Vagrantfile.redhat (Vagrant file for CentOS)
- run.sh (run this script with 'debian' or 'redhat' for testing)
- hosts_test (inventory file used under Vagrant testing environment)
- hosts_vagrant.yml (Vagrantfile uses this inventory)
- rc (source this file to load .ansible.cfg for testing;
| DON'T do this on production)
- .ansible.cfg (configuration for testing environment)
- site.yml (main playbook)
/roles...