Skip to content

demonstration of key DevOps skills, such as working with source control, automation, orchestration and software configuration management.

Notifications You must be signed in to change notification settings

xenonstack/ansible-devops-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DevOps Demo using Ansible

Prerequisites

This service is designed and tested to be used on:

  • Ubuntu 14.04 LTS
  • Ansible 2.1.0.0

Installation

You need ansible installed via apt-get or pip:

# apt-get install ansible

or

# pip install ansible

Configure

You have setup AWS Varibales in the following YAML file.

roles/launch-instance/vars/main.yml

ec2_access_key: xxxxxxxxxx
ec2_secret_key: xxxxxxxxxxxxxxxxxxxxx
region: us-east-1
project_name: Pro-go
instance_type: t2.micro
web_count: 1
app_count: 2
keypair: "{{ project_name }}-key"
security_group: "{{ project_name }}-SG"
image: ami-2d39803a

Run

To setup the Whole Stack Run Following command .

ansible-playbook go-env-setup.yml

Testing

Open URL on Browser

<URL_OF_Web_Server>

Output

Hi there, I'm served from <Hostname of app server>

About

demonstration of key DevOps skills, such as working with source control, automation, orchestration and software configuration management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published