This role provide a compliance for install waypoint on your target host.
None.
This role has multiple variables. The defaults for all these variables are the following:
---
# defaults file for diodonfrost.waypoint
# Define waypoint version to install
# Possible values: https://releases.hashicorp.com/waypoint/index.json
# Default: latest
waypoint_version: latest
# Define url where to download waypoint package
# Default: use local system path defined in Ansible vars/*.yml
waypoint_pkg_url: "{{ __waypoint_pkg_url }}"
# Define where to install waypoint binary
# Default: use local system path defined in Ansible vars/*.yml
waypoint_path: "{{ __waypoint_path }}"
None
This is a sample playbook file for deploying the Ansible Galaxy waypoint role in a localhost and installing the latest version of waypoint.
---
- hosts: localhost
become: true
roles:
- role: diodonfrost.waypoint
This role can also install a specific version of waypoint.
---
- hosts: localhost
become: true
roles:
- role: ansible-role-waypoint
vars:
waypoint_version: 0.11.2
This project uses Molecule to aid in the development and testing.
To develop or test you'll need to have installed the following:
- Linux (e.g. Ubuntu)
- Docker
- Python (including python-pip)
- Ansible
- Molecule
- Libvirt (if you test windows system)
- Vagrant (if you test windows system)
# Install requirements
pip install -r requirements-dev.txt
# Test ansible role with ubuntu 22.04
molecule test
# Test ansible role with ubuntu 20.04
image=ansible-ubuntu:20.04 molecule test
# Test ansible role with alpine latest
image=ansible-alpine:latest molecule test
# Create ubuntu 22.04 instance
molecule create
# Apply role on ubuntu 22.04 instance
molecule converge
# Launch tests on ubuntu 22.04 instance
molecule verify
# Test ansible role with Windows
molecule test -s windows
Apache 2
This role was created in 2023 by diodonfrost.