Skip to content

Commit 378ddd6

Browse files
authored
NGX-753: Update (#6)
1 parent bffc3c8 commit 378ddd6

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

.ansible-lint-ignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Ansible Molecule Pipeline
22

3-
on:
3+
on: # yamllint disable-line rule:truthy
44
push:
55
branches: [main]
66
pull_request:
77
branches: [main]
8-
workflow_dispatch:
9-
branches: [main]
108

119
env:
1210
PY_COLORS: '1'
@@ -24,21 +22,19 @@ jobs:
2422
command: /lib/systemd/systemd
2523
- image: geerlingguy/docker-debian11-ansible:latest
2624
command: /lib/systemd/systemd
27-
- image: geerlingguy/docker-ubuntu1804-ansible:latest
28-
command: /lib/systemd/systemd
2925
- image: geerlingguy/docker-ubuntu2004-ansible:latest
3026
- image: geerlingguy/docker-ubuntu2204-ansible:latest
3127
- image: ghcr.io/artis3n/docker-almalinux8-ansible:latest
3228
- image: geerlingguy/docker-rockylinux8-ansible:latest
3329
- image: geerlingguy/docker-rockylinux9-ansible:latest
3430
steps:
35-
- uses: actions/checkout@v2
36-
- uses: actions/setup-python@v2
31+
- uses: actions/checkout@v3
32+
- uses: actions/setup-python@v4
3733
with:
3834
python-version: "3.x"
3935

4036
- name: Install test dependencies
41-
run: pip3 install ansible molecule molecule-docker
37+
run: pip install -r requirements.txt
4238

4339
- name: Run Molecule Test
4440
run: molecule test
@@ -56,13 +52,13 @@ jobs:
5652
- image: geerlingguy/docker-centos7-ansible:latest
5753
command: /usr/lib/systemd/systemd
5854
steps:
59-
- uses: actions/checkout@v2
60-
- uses: actions/setup-python@v2
55+
- uses: actions/checkout@v3
56+
- uses: actions/setup-python@v4
6157
with:
6258
python-version: "3.x"
6359

6460
- name: Install test dependencies
65-
run: pip3 install ansible molecule molecule-docker
61+
run: pip install -r requirements.txt
6662

6763
- name: Run Molecule Test
6864
run: molecule test

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@
55
Modular Ansible Role for deploying and configuring Monit
66

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

9-
* CentOS 7.x or later
13+
* CentOS 7.x
1014
* Debian 10 or later
11-
* Ubuntu 18.04 LTS or later
15+
* Ubuntu 20.04 LTS or later
1216
* AlmaLinux 8.x or later
1317
* RockyLinux 8.x or later
1418

meta/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ galaxy_info:
55
description: Modular Ansible Role for deploying and configuring Monit
66
company: "InMotion Hosting"
77
license: GPLv3
8-
min_ansible_version: "2.9"
8+
min_ansible_version: "2.13"
99

1010
platforms:
1111
- name: EL
@@ -19,7 +19,6 @@ galaxy_info:
1919
- bullseye
2020
- name: Ubuntu
2121
versions:
22-
- bionic
2322
- focal
2423
- jammy
2524

requirements.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# requirements.txt
22

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

0 commit comments

Comments
 (0)