Posts Categorized: devops

Hashicorp Nomad Dev Install on Debian

Ensure the deb repo is configured and install nomad: Environment Variables Development Mode These commands are for testing non-production tasks. In this example I am running on a server with IP address The web UI will be available on that IP port 4646 Check the status of the node: Running a test redis job… Read more »

Hashicorp Vault Install on Debian

For a new vault cluster, add the APT repo: Depending on how you have configured the listener you may need to set an environment variable specifying the vault location before commands like ‘vault status’ will work: Notice I am setting a variable to disable certificate verification to avoid having to add ‘-tls-skip-verify’ to each command…. Read more »

Packer HCL Environment Variables

Converting Packer templates from json to HCL for Packer version 1.7.2. The easiest thing to do is try the automated conversion: For environment variables we need to set them with a PKR_VAR prefix e.g. Then that can be defined in the template.pkr.hcl file with: And then used in later sections like this: Then your validation… Read more »