Sample Packer & Ansible files for Azure ARM
- Prepare your Resource Group & Storage Account to store your image
- Make "builder/variables.json" file to describe your credentials & identifiers
- "variables.sample.json" is for your reference
- Make "builder/packer.json" file to describe your packer configuration
- "ubuntu.json" is for your reference
- Modify a playbook "ansible/roles/baseimage/tasks/main.yml" as you like
- This sample install & enable apache2
- cd builder
- packer build -var-file=variables.json packer.json