Skip to content

Updated supported OS's. #72

Updated supported OS's.

Updated supported OS's. #72

Workflow file for this run

---
name: CI
on:
pull_request:
push:
branches:
# - main
- master
# schedule:
# - cron: '50 2 * * 6'
defaults:
run:
working-directory: 'glillico.configure_sshd'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out git repository.
uses: actions/checkout@v4
with:
path: 'glillico.configure_sshd'
- name: Setup python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install package dependencies.
run: pip3 install yamllint
- name: Perform linting.
run: |
yamllint .
molecule-legacy:
needs: lint
name: Molecule (Ansible 2.16.x)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- rockylinux8
tag:
- latest
steps:
- name: Check out git repository.
uses: actions/checkout@v4
with:
path: 'glillico.configure_sshd'
- name: Setup python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install package dependencies.
run: pip3 install "ansible-core<2.17" docker molecule "molecule-plugins[docker]"
- name: Perform molecule tests.
run: molecule test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}
MOLECULE_TAG: ${{ matrix.tag }}
molecule:
needs: lint
name: Molecule
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- debian11
- debian12
- rockylinux9
- ubuntu2204
- ubuntu2404
tag:
- latest
steps:
- name: Check out git repository.
uses: actions/checkout@v4
with:
path: 'glillico.configure_sshd'
- name: Setup python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install package dependencies.
run: pip3 install ansible docker molecule "molecule-plugins[docker]"
- name: Perform molecule tests.
run: molecule test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}
MOLECULE_TAG: ${{ matrix.tag }}