Skip to content

Fix steps names

Fix steps names #7

Workflow file for this run

---
name: Run playbook
on: [push] # yamllint disable-line rule:truthy
# yamllint disable rule:indentation
jobs:
running-on-mac:
runs-on: macos-13
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install ansible on MacOS
run: |
pip3 install ansible-core
ansible-galaxy \
collection install --requirements-file roles/requirements.yml
- name: Run playbook on MacOS
run: |
ansible-playbook \
--connection=local \
--extra-vars "current_user=$$USER home_folder=/tmp" \
-vv \
-i inventory.ini \
playbook.yml
running-on-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install ansible on Ubuntu
run: |
pip3 install ansible-core
ansible-galaxy \
collection install --requirements-file roles/requirements.yml
- name: Run playbook on Ubuntu
run: |
ansible-playbook \
--connection=local \
--extra-vars "current_user=$$USER home_folder=/tmp" \
-vv \
-i inventory.ini \
playbook.yml
# yamllint enable rule:indentation