Skip to content

vermilion-tech/packer-digitalocean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-digitalocean

  • Developed with Packer 1.3.5.

1. Create variables.json

{
  "token": "DIGITALOCEAN_API_TOKEN",
  "build_region": "nyc1",
  "snapshot_regions": "nyc1,sfo2"
}

2. Install Ansible Roles from Ansible Galaxy

$ make install
or
$ ansible-galaxy install -r ansible/requirements.yml

3. (Optional) Inspect Packer Images

$ make inspect
or
$ packer inspect images/ubuntu/base.json

4. Validate Packer Template

$ make validate
or
$ packer validate -var-file variables.json images/ubuntu/base.json

5. Build Packer Template

$ make build
or
$ packer build -var-file variables.json images/ubuntu/base.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published