Skip to content

sandjaie/packer-ansible-ami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

using packer and ansible to build AMIs

make packer-build will create a Ubuntu image with packages installed.

How to install packages in the image?

Add the packages need to be installed under ansible roles and add the roles in site.yml and under role_paths in template.json

Note:

Need to improve: Write ansible roles compatible for both Ubuntu and Amazon Linux using register.

Write shell script to install/uninstall ansible after checking the OS version/family.

About

Building images using packer and ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published