Skip to content

Commit

Permalink
NGX-753: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
combssm committed Aug 21, 2023
1 parent bffc3c8 commit e8b76b1
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .ansible-lint-ignore

This file was deleted.

18 changes: 7 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Ansible Molecule Pipeline

on:
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
branches: [main]

env:
PY_COLORS: '1'
Expand All @@ -24,21 +22,19 @@ jobs:
command: /lib/systemd/systemd
- image: geerlingguy/docker-debian11-ansible:latest
command: /lib/systemd/systemd
- image: geerlingguy/docker-ubuntu1804-ansible:latest
command: /lib/systemd/systemd
- image: geerlingguy/docker-ubuntu2004-ansible:latest
- image: geerlingguy/docker-ubuntu2204-ansible:latest
- image: ghcr.io/artis3n/docker-almalinux8-ansible:latest
- image: geerlingguy/docker-rockylinux8-ansible:latest
- image: geerlingguy/docker-rockylinux9-ansible:latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"

- name: Install test dependencies
run: pip3 install ansible molecule molecule-docker
run: pip install -r requirements.txt

- name: Run Molecule Test
run: molecule test
Expand All @@ -56,13 +52,13 @@ jobs:
- image: geerlingguy/docker-centos7-ansible:latest
command: /usr/lib/systemd/systemd
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"

- name: Install test dependencies
run: pip3 install ansible molecule molecule-docker
run: pip install -r requirements.txt

- name: Run Molecule Test
run: molecule test
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
Modular Ansible Role for deploying and configuring Monit

## Requirements
This Ansible role supports the two latest stable releases of specific
server-focused Linux distributions and aims to follow their deprecation
policies. Additionally we will focus on supporting the latest two stable
releases of each, which at the time of writing are as follows:

* CentOS 7.x or later
* CentOS 7.x
* Debian 10 or later
* Ubuntu 18.04 LTS or later
* Ubuntu 20.04 LTS or later
* AlmaLinux 8.x or later
* RockyLinux 8.x or later

Expand Down
3 changes: 1 addition & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ galaxy_info:
description: Modular Ansible Role for deploying and configuring Monit
company: "InMotion Hosting"
license: GPLv3
min_ansible_version: "2.9"
min_ansible_version: "2.13"

platforms:
- name: EL
Expand All @@ -19,7 +19,6 @@ galaxy_info:
- bullseye
- name: Ubuntu
versions:
- bionic
- focal
- jammy

Expand Down
7 changes: 5 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# requirements.txt

ansible>=2.8,<3
molecule[docker]>=3,<4
ansible-lint
ansible>=6,<7
molecule-plugins[docker]
molecule>=5,<6
pre-commit

0 comments on commit e8b76b1

Please sign in to comment.