This commit is contained in:
Kris Lamoureux 2024-05-01 22:30:21 -04:00
parent 324fe0b191
commit ea4e14ba10

View File

@ -8,7 +8,7 @@ on:
jobs: jobs:
homelab-ci: homelab-ci:
runs-on: macos-latest runs-on: macos-13
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -21,19 +21,22 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-vagrant- ${{ runner.os }}-vagrant-
- name: Install VirtualBox
run: brew install --cask virtualbox
- name: Install Vagrant
run: brew install --cask vagrant
- name: Install Ansible - name: Install Ansible
run: brew install ansible@7 run: brew install ansible
- name: Software Versions - name: Software Versions
run: | run: |
printf "VirtualBox " printf "VirtualBox "; vboxmanage --version
vboxmanage --version
vagrant --version vagrant --version
export PATH="/usr/local/opt/ansible@7/bin:$PATH"
ansible --version ansible --version
- name: Vagrant Up with Dockerbox Playbook - name: Vagrant Up with Dockerbox Playbook
run: | run: |
export PATH="/usr/local/opt/ansible@7/bin:$PATH"
PLAYBOOK=dockerbox vagrant up PLAYBOOK=dockerbox vagrant up
vagrant ssh -c "docker ps" vagrant ssh -c "docker ps"