Skip to content

dustindortch/packer-ansible-aap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-ansible-aap

Builds an AMI using Packer and Ansible. This example uses RHEL 9 AMI as the base image and installs the Ansible Automation Platform installer package after updating the distribution.

Requirements

Name Version
amazon ~> 1.3
ansible ~> 1.1

Plugins

Name Version
amazon ~> 1.3
ansible ~> 1.1

Sources

Name Type
amazon-ebs.img source

Provisioners

Name Source
ansible playbook.yml

Inputs

Name Description Type Default Required
ami_filter The filter to use to find the source AMI map(string)
{
"name": "RHEL-9.._HVM-*-x86_64-82-Hourly2-GP3",
"root-device-type": "ebs",
"virtualization-type": "hvm"
}
no
ami_name The name of the AMI to create string "rhel-9-aap" no
ami_owner The owner of the AMI to use as a base (Default: Amazon) string "309956199498" no
instance_type The instance type to use for the builder string "t2.small" no
region The region to use for the builder string "us-east-1" no
ssh_username The SSH username to use for the builder string "ec2-user" no

Outputs

No outputs.

Releases

No releases published

Languages