Skip to content

Ansible Script and Playbooks to manage apache vhost on EC2

License

Notifications You must be signed in to change notification settings

mcred/Ansible-Site-Admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Site Admin

A collection of Ansible playbooks and tools used to manage an Apache Virtual Host AWS EC2 environment.

System Requirements

  • Python 2.7 +
  • Ansible 2.2
  • AWS Classic Load Balancer
  • EC2 LAMP Instance

Available Methods

  • View Running Hosts
  • Add Domain
  • Get Name Servers

Configuration

Create the following two files
/ansible/inventory/aws_keys
/ansible/inventory/ansible.pem

The aws_keys files should contain the following settings based on your environment:

export AWS_ACCESS_KEY_ID=''
export AWS_SECRET_ACCESS_KEY='+3xJ9Gnv+7'
export EC2_REGION=''

The ansible.pem file is a renamed copy of the PEM file for your AWS account.

Usage

Execute ./admin and then follow the prompts.

About

Ansible Script and Playbooks to manage apache vhost on EC2

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published