Skip to content

feat: Added dawarich role #1

feat: Added dawarich role

feat: Added dawarich role #1

Workflow file for this run

---

Check failure on line 1 in .github/workflows/ansible.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ansible.yml

Invalid workflow file

(Line: 5, Col: 17): Unexpected value 'true'
name: Ansible validation
on:
pull_request: true
push:
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Ansible tooling
run: python -m pip install --requirement requirements.txt molecule molecule-docker
- name: Install Ansible collections
run: ansible-galaxy collection install --requirements-file requirements.yml
- name: Lint YAML
run: yamllint .
- name: Lint Ansible
run: ansible-lint
- name: Syntax check Dawarich playbook
run: ansible-playbook --syntax-check playbooks/dawarich.yml
- name: Test Dawarich role
env:
ANSIBLE_ALLOW_BROKEN_CONDITIONALS: 'true'
run: molecule test --scenario-name dawarich