Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.0.0 #16

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .ansible-lint

This file was deleted.

35 changes: 15 additions & 20 deletions .github/workflows/chrony.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
name: "ericsysmin.system.chrony"
---
name: ericsysmin.system.chrony
on:
push:
paths:
- 'roles/chrony/**'
- 'molecule/chrony/**'
- '.github/workflows/chrony.yml'
- roles/chrony/**
- molecule/chrony/**
- .github/workflows/chrony.yml
pull_request:
paths:
- 'roles/chrony/**'
- 'molecule/chrony/**'
- '.github/workflows/chrony.yml'
- roles/chrony/**
- molecule/chrony/**
- .github/workflows/chrony.yml
jobs:
molecule:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
strategy:
fail-fast: true
fail-fast: false
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { "distro":"fedora-32", "command":"/usr/sbin/init" }
- { "distro":"fedora-31", "command":"/usr/sbin/init" }
- { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" }
- { "distro":"ubuntu-16.04", "command":"/sbin/init" }
- { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" }
- { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" }
- { "distro":"debian-9", "command":"/lib/systemd/systemd" }
- { "distro":"debian-10", "command":"/lib/systemd/systemd" }
- { distro: centos-8, command: /usr/sbin/init }
- {distro: ubuntu-18.04, command: /lib/systemd/systemd}
- {distro: ubuntu-20.04, command: /lib/systemd/systemd}
- {distro: debian-10, command: /lib/systemd/systemd}
collection_role:
- chrony
steps:
Expand All @@ -42,15 +37,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]

- name: Run role tests
run: >-
molecule --version &&
Expand Down
23 changes: 12 additions & 11 deletions .github/workflows/epel.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: "ericsysmin.system.epel"
---
name: ericsysmin.system.epel
on:
push:
paths:
- 'roles/epel/**'
- 'molecule/epel/**'
- '.github/workflows/epel.yml'
- roles/epel/**
- molecule/epel/**
- .github/workflows/epel.yml
pull_request:
paths:
- 'roles/epel/**'
- 'molecule/epel/**'
- '.github/workflows/epel.yml'
- roles/epel/**
- molecule/epel/**
- .github/workflows/epel.yml
jobs:
molecule:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
strategy:
fail-fast: true
fail-fast: false
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { distro: centos-7, command: /usr/sbin/init }
- { distro: centos-8, command: /usr/sbin/init }
collection_role:
- epel
steps:
Expand All @@ -34,7 +35,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
36 changes: 17 additions & 19 deletions .github/workflows/logrotate.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
name: "ericsysmin.system.logrotate"
---
name: ericsysmin.system.logrotate
on:
push:
paths:
- 'roles/logrotate/**'
- 'molecule/logrotate/**'
- '.github/workflows/logrotate.yml'
- roles/logrotate/**
- molecule/logrotate/**
- .github/workflows/logrotate.yml
pull_request:
paths:
- 'roles/logrotate/**'
- 'molecule/logrotate/**'
- '.github/workflows/logrotate.yml'
- roles/logrotate/**
- molecule/logrotate/**
- .github/workflows/logrotate.yml
jobs:
logrotate:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
strategy:
fail-fast: true
fail-fast: false
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { "distro":"fedora-32", "command":"/usr/sbin/init" }
- { "distro":"fedora-31", "command":"/usr/sbin/init" }
- { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" }
- { "distro":"ubuntu-16.04", "command":"/sbin/init" }
- { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" }
- { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" }
- { "distro":"debian-9", "command":"/lib/systemd/systemd" }
- { "distro":"debian-10", "command":"/lib/systemd/systemd" }
- { distro: centos-7, command: /usr/sbin/init }
- { distro: centos-8, command: /usr/sbin/init }
- { distro: ubuntu-18.04, command: /lib/systemd/systemd }
- { distro: ubuntu-20.04, command: /lib/systemd/systemd }
- { distro: ubuntu-22.04, command: /lib/systemd/systemd }
- { distro: debian-10, command: /lib/systemd/systemd }
- { distro: debian-11, command: /lib/systemd/systemd }
collection_role:
- logrotate
steps:
Expand All @@ -42,7 +40,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
27 changes: 13 additions & 14 deletions .github/workflows/ntp.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
name: "ericsysmin.system.ntp"
---
name: ericsysmin.system.ntp
on:
push:
paths:
- 'roles/ntp/**'
- 'molecule/ntp/**'
- '.github/workflows/ntp.yml'
- roles/ntp/**
- molecule/ntp/**
- .github/workflows/ntp.yml
pull_request:
paths:
- 'roles/ntp/**'
- 'molecule/ntp/**'
- '.github/workflows/ntp.yml'
- roles/ntp/**
- molecule/ntp/**
- .github/workflows/ntp.yml
jobs:
molecule:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
strategy:
fail-fast: true
fail-fast: false
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"ubuntu-16.04", "command":"/sbin/init" }
- { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" }
- { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" }
- { "distro":"debian-9", "command":"/lib/systemd/systemd" }
- { distro: ubuntu-18.04, command: /lib/systemd/systemd }
- { distro: ubuntu-20.04, command: /lib/systemd/systemd }
- { distro: debian-10, command: /lib/systemd/systemd }
collection_role:
- ntp
steps:
Expand All @@ -37,7 +36,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "release"
---
name: release
on:
release:
types:
Expand All @@ -11,12 +12,12 @@ jobs:
ANSIBLE_FORCE_COLOR: 1
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.11

- name: Install dependencies
run: |
Expand Down
26 changes: 12 additions & 14 deletions .github/workflows/remi_repo.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
name: "ericsysmin.system.remi_repo"
---
name: ericsysmin.system.remi_repo
on:
push:
paths:
- 'roles/remi_repo/**'
- 'molecule/remi_repo/**'
- '.github/workflows/remi_repo.yml'
- roles/remi_repo/**
- molecule/remi_repo/**
- .github/workflows/remi_repo.yml
pull_request:
paths:
- 'roles/remi_repo/**'
- 'molecule/remi_repo/**'
- '.github/workflows/remi_repo.yml'
- roles/remi_repo/**
- molecule/remi_repo/**
- .github/workflows/remi_repo.yml
jobs:
molecule:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
strategy:
fail-fast: true
fail-fast: false
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { "distro":"fedora-32", "command":"/usr/sbin/init" }
- { "distro":"fedora-31", "command":"/usr/sbin/init" }
- { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" }
- { distro: centos-7, command: /usr/sbin/init }
- { distro: centos-8, command: /usr/sbin/init }
collection_role:
- remi_repo
steps:
Expand All @@ -37,7 +35,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
23 changes: 12 additions & 11 deletions .github/workflows/selinux.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: "ericsysmin.system.selinux"
---
name: ericsysmin.system.selinux
on:
push:
paths:
- 'roles/selinux/**'
- 'molecule/selinux/**'
- '.github/workflows/selinux.yml'
- roles/selinux/**
- molecule/selinux/**
- .github/workflows/selinux.yml
pull_request:
paths:
- 'roles/selinux/**'
- 'molecule/selinux/**'
- '.github/workflows/selinux.yml'
- roles/selinux/**
- molecule/selinux/**
- .github/workflows/selinux.yml
jobs:
molecule:
runs-on: ubuntu-latest
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
strategy:
fail-fast: true
fail-fast: false
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { distro: centos-7, command: /usr/sbin/init }
- { distro: centos-8, command: /usr/sbin/init }
collection_role:
- selinux
steps:
Expand All @@ -34,7 +35,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ignore vscode
.vscode
Loading
Loading