├── README.md ├── ansible.cfg ├── filter_plugins └── s3.py ├── hosts ├── library ├── ec2_ami.py ├── ec2_vol.py ├── find.py ├── os_image.py ├── os_orchestration_stack.py └── s3.py ├── packer ├── PLACE-ISO-IMAGE-HERE ├── http │ └── ks.cfg └── scripts │ ├── base.sh │ ├── cleanup.sh │ ├── vagrant.sh │ ├── virtualbox.sh │ ├── vmware.sh │ └── zerodisk.sh └── roles ├── build-image ├── files │ └── vagrant_private_key ├── tasks │ └── main.yml └── templates │ ├── Vagrantfile.j2 │ └── template.json.j2 ├── cleanup-image ├── tasks │ └── main.yml └── templates │ └── menu.lst.j2 ├── finish-image └── tasks │ └── main.yml ├── make-ami-ebs-image ├── tasks │ └── main.yml └── templates │ ├── manifest.xml.j2 │ └── template.json.j2 ├── make-ami-image ├── tasks │ └── main.yml └── templates │ └── manifest.xml.j2 ├── make-glance-image └── tasks │ └── main.yml ├── make-heat-template ├── tasks │ └── main.yml └── templates │ └── sample.yml.j2 ├── make-ovf-image ├── tasks │ └── main.yml └── templates │ └── template.ovf.j2 └── setup-image ├── tasks └── main.yml └── templates ├── virtio.conf.j2 └── virtualbox.conf.j2 /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/README.md -------------------------------------------------------------------------------- /ansible.cfg: -------------------------------------------------------------------------------- 1 | [defaults] 2 | remote_user = vagrant 3 | host_key_checking = False 4 | -------------------------------------------------------------------------------- /filter_plugins/s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/filter_plugins/s3.py -------------------------------------------------------------------------------- /hosts: -------------------------------------------------------------------------------- 1 | [build-image] 2 | 127.0.0.1 3 | 4 | 5 | -------------------------------------------------------------------------------- /library/ec2_ami.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/library/ec2_ami.py -------------------------------------------------------------------------------- /library/ec2_vol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/library/ec2_vol.py -------------------------------------------------------------------------------- /library/find.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/library/find.py -------------------------------------------------------------------------------- /library/os_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/library/os_image.py -------------------------------------------------------------------------------- /library/os_orchestration_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/library/os_orchestration_stack.py -------------------------------------------------------------------------------- /library/s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/library/s3.py -------------------------------------------------------------------------------- /packer/PLACE-ISO-IMAGE-HERE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packer/http/ks.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/packer/http/ks.cfg -------------------------------------------------------------------------------- /packer/scripts/base.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/packer/scripts/base.sh -------------------------------------------------------------------------------- /packer/scripts/cleanup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/packer/scripts/cleanup.sh -------------------------------------------------------------------------------- /packer/scripts/vagrant.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/packer/scripts/vagrant.sh -------------------------------------------------------------------------------- /packer/scripts/virtualbox.sh: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packer/scripts/vmware.sh: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packer/scripts/zerodisk.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/packer/scripts/zerodisk.sh -------------------------------------------------------------------------------- /roles/build-image/files/vagrant_private_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/build-image/files/vagrant_private_key -------------------------------------------------------------------------------- /roles/build-image/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/build-image/tasks/main.yml -------------------------------------------------------------------------------- /roles/build-image/templates/Vagrantfile.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/build-image/templates/Vagrantfile.j2 -------------------------------------------------------------------------------- /roles/build-image/templates/template.json.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/build-image/templates/template.json.j2 -------------------------------------------------------------------------------- /roles/cleanup-image/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/cleanup-image/tasks/main.yml -------------------------------------------------------------------------------- /roles/cleanup-image/templates/menu.lst.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/cleanup-image/templates/menu.lst.j2 -------------------------------------------------------------------------------- /roles/finish-image/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/finish-image/tasks/main.yml -------------------------------------------------------------------------------- /roles/make-ami-ebs-image/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-ami-ebs-image/tasks/main.yml -------------------------------------------------------------------------------- /roles/make-ami-ebs-image/templates/manifest.xml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-ami-ebs-image/templates/manifest.xml.j2 -------------------------------------------------------------------------------- /roles/make-ami-ebs-image/templates/template.json.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-ami-ebs-image/templates/template.json.j2 -------------------------------------------------------------------------------- /roles/make-ami-image/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-ami-image/tasks/main.yml -------------------------------------------------------------------------------- /roles/make-ami-image/templates/manifest.xml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-ami-image/templates/manifest.xml.j2 -------------------------------------------------------------------------------- /roles/make-glance-image/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-glance-image/tasks/main.yml -------------------------------------------------------------------------------- /roles/make-heat-template/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-heat-template/tasks/main.yml -------------------------------------------------------------------------------- /roles/make-heat-template/templates/sample.yml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-heat-template/templates/sample.yml.j2 -------------------------------------------------------------------------------- /roles/make-ovf-image/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-ovf-image/tasks/main.yml -------------------------------------------------------------------------------- /roles/make-ovf-image/templates/template.ovf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/make-ovf-image/templates/template.ovf.j2 -------------------------------------------------------------------------------- /roles/setup-image/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/setup-image/tasks/main.yml -------------------------------------------------------------------------------- /roles/setup-image/templates/virtio.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/setup-image/templates/virtio.conf.j2 -------------------------------------------------------------------------------- /roles/setup-image/templates/virtualbox.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosmo/ansible-packer-vagrant-openstack-ec2/HEAD/roles/setup-image/templates/virtualbox.conf.j2 --------------------------------------------------------------------------------