Skip to content

SilasKenneth/ansible_packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Configuration and change management

The code in the repo is meant to create a machine image on AWS and provision the machine using ansible. Packer is used for creating identical machine images on AWS in this case.

Requirements

Steps

To run the scripts first create .env fil e, copy the contents of .env.example into .env file, fill in the placeholders in with details from aws account.

  • Run source .env to export the variable to the system environment.
  • Run packer build packer_frontend.json to build the machine image.
  • Once done you should be able to go to your AWS account and create an instance from the image just created by packer.

About

Ansible and packer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors