sandjaie / packer-ansible-ami

Building images using packer and ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Shell 47.6%Language:Dockerfile 36.4%Language:Makefile 16.1%