try comamnd #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ansible Playbook Test | |
on: | |
push: | |
branches: | |
- playbook-wip | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Ansible | |
run: | | |
sudo python -m pip install --upgrade pip | |
sudo pip install ansible | |
- name: Test Ansible Playbook | |
run: | | |
sudo ansible-playbook .cfg/playbook-with-mac.yaml | |