Skip to content

Commit

Permalink
Update build_vagrant.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 authored Sep 19, 2024
1 parent ec0f917 commit 287ad4b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build_vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,21 @@ jobs:
# - name: Install Ansible Using PIP2
# run: pip2 install ansible

- name: Download and add the HashiCorp GPG key
run: sudo curl -fsSL https://apt.releases.hashicorp.com/gpg -o /tmp/hashicorp.gpg

- name: Add the HashiCorp GPG key to the keyring
run: sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg /tmp/hashicorp.gpg

- name: Add the HashiCorp repository
run: sudo echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list

# Update apt package index
# apt-get update

# Install Vagrant
# apt-get install -y vagrant

- name: Update Repos
run: sudo apt-get update

Expand Down

0 comments on commit 287ad4b

Please sign in to comment.