Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
4b19ff12
Commit
4b19ff12
authored
Apr 16, 2013
by
jarv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
b698e3e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
README.md
+58
-0
No files found.
README.md
View file @
4b19ff12
# Configuration Management
## Ansible
### Installation
```
mkvirtualenv ansible
pip install -r ansible-requirements.txt
```
### Launching example cloudformation stack
Change the following in playbooks/cloudformation.yaml to suit your environment:
```
args:
template_parameters:
KeyName: deployment
InstanceType: m1.small
NameTag: edx-ec2
GroupTag: edx-group
```
And run:
```
cd playbooks
ansible-playbook cloudformation.yaml -i inventory.ini
```
While this is running you see the cloudformation events in the AWS console as the stack is brought up.
Loads the playbooks/cloudformation.yaml template which creates a single small EBS backed EC2 instance.
See files/examples for adding other components to the stack.
### Test EC2 tag discovery
This should return a list of tags, assumes you have a
`~/.boto`
file:
`python playbooks/ec2.py`
### Running the test playbook
Create a user
```
cd playbooks
ansible-playbook test.yaml -i ec2.py --private-key=/path/to/deployment.pem
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment