Skip to content

Commit

Permalink
Waypoint installation (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmangold authored Oct 16, 2020
1 parent fa275dc commit c9d4de3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.terraform
*.tfstate
tests/inventory
tests/test.retry
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
- import_tasks: ../tasks/tools/nodejs.yml
- import_tasks: ../tasks/filesystem.yml
- import_tasks: ../tasks/smoke-test.yml
- import_tasks: ../tasks/tools/waypoint.yml
14 changes: 14 additions & 0 deletions tasks/tools/waypoint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

- name: Add Hashicorp GPG apt Key
apt_key:
url: https://apt.releases.hashicorp.com/gpg
state: present

- name: Add Hashicorp Repository
apt_repository:
repo: deb [arch=amd64] https://apt.releases.hashicorp.com bionic main
state: present

- name: Update apt and install Waypoint
apt: update_cache=yes name=waypoint state=latest

0 comments on commit c9d4de3

Please sign in to comment.