Skip to content

Commit

Permalink
Add action to run playbook on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Dec 27, 2023
1 parent 3632819 commit 0dfbc46
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/running-on-mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: CI
on: [push] # yamllint disable-line rule:truthy
# yamllint disable rule:indentation
jobs:
build:
runs-on: macos-13
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run playbook on MacOS
run: |
ansible-playbook \
--connection=local \
--extra-vars "current_user=$$USER home_folder=$$HOME" \
-vv \
-i inventory.ini \
playbook.yml
# yamllint enable rule:indentation

0 comments on commit 0dfbc46

Please sign in to comment.