Skip to content

Ansible hashicorp role. Used for bootstrapping a host with Hashicorp tools.

License

Notifications You must be signed in to change notification settings

jesmigel/ansible-role-hashicorp

Repository files navigation

ansible-role-hashicorp

License: MIT CI

NOTE: To be sunset in favor of hashicorp products executed through containers.

Ansible hashicorp role. Used for bootstrapping a host with Hashicorp tools.

References

Name Comments
Dependencies Deployment Toolchain
Make Commands Deployment Shortcuts
Preflight Steps Pre deployment configuration

Tools Installed

Name Comments
Vagrant Open source software product for building and maintaining portable virtual software development environments
Packer Open source tool for creating golden images for multiple platforms from a single source configuration.
Terraform Open-source infrastructure as code software tool created by HashiCorp. Users define and provide data center infrastructure using a declarative configuration language.

Tests

  • Lint: yamllint and ansible-lint. This is automated through Github Actions
  • Functional: Tested through Vagrant and ESXi. To be added in github actions

Usage

This repository is used as an ansible role. It can be referenced through a requirements.yaml file.

# from github
- src: https://github.com/jesmigel/ansible-role-hashicorp.git
  name: hashicorp

The role can be installed through the ansible-galaxy command:

ansible-galaxy role install -r requirements.yaml -p $ROLE_DIRECTORY

ToDo

  1. DevOps CI/CD test
    • Jenkins