Packer based project for provisioning a "beats" image with Elastic Beats, using Ansible remote, and Serverspc, for AWS, or Virtualbox.
To use this project, you must have installed:
(Optional)
git clone https://github.com/apolloclark/packer-aws-beats
cd ./packer-aws-beats/base
# create a keypair named "packer" or change lines 26, 27 in build_packer_aws.sh
./build_packer_aws.sh
git clone https://github.com/apolloclark/packer-aws-beats
cd ./packer-aws-beats/base
./build_packer_virtualbox.sh
git clone https://github.com/apolloclark/packer-aws-beats
cd ./packer-aws-beats/base
vagrant up
vagrant ssh
Ansible Roles: