Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed Dec 25, 2023
1 parent e34db06 commit 25f7c14
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 38 deletions.
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug report
about: Create a report to help me improve
about: Create a report to help me improve this role.

---

Expand All @@ -20,12 +20,11 @@ YOUR PLAYBOOK HERE

## Output

Show at least the error, possible related output, maybe just all the output.
Show at least the error, possible related output, if possible all the output.

## Environment

- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)

Please consider [sponsoring me](https://github.com/sponsors/buluma).
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ Why is this feature required?

Add any other context about the feature request here.

Please consider [sponsoring me](https://github.com/sponsors/buluma).
3 changes: 2 additions & 1 deletion .github/workflows/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
# uses: buluma/galaxy-action@v6.25.22 # TODO: rebuild action
uses: robertdebock/galaxy-action@1.2.1
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
galaxy_api_key: ${{ secrets.galaxy_api_key }}
git_branch: ${{ github.event.repository.default_branch }}
8 changes: 4 additions & 4 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ jobs:
- image: "debian-systemd"
tag: "bullseye"
- image: "fedora-systemd"
tag: "37"
tag: "38"
- image: "fedora-systemd"
tag: "latest"
- image: "fedora-systemd"
tag: "rawhide"
- image: "docker-opensuse-systemd"
tag: "latest"
- image: "docker-ubuntu-systemd"
Expand All @@ -69,8 +71,6 @@ jobs:
tag: "focal"
- image: "docker-ubuntu-systemd"
tag: "bionic"
- image: "docker-ubuntu-systemd"
tag: "lunar"
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -81,7 +81,7 @@ jobs:
# - name: parse apparmor for mysql
# run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: molecule
uses: buluma/molecule-action@v5.1.1
uses: buluma/molecule-action@v6.0.0
with:
image: ${{ matrix.config.image }}
tag: ${{ matrix.config.tag }}
9 changes: 9 additions & 0 deletions .github/workflows/todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ name: "TODO 2 Issue"

on:
push:
branches:
- master
- main
- testing
paths-ignore:
- '**/README.md'
- '**/CHANGELOG.md'
tags_ignore:
- '*'

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ molecule:
- image: "debian-systemd"
tag: "bullseye"
- image: "fedora-systemd"
tag: "37"
tag: "38"
- image: "fedora-systemd"
tag: "latest"
- image: "fedora-systemd"
tag: "rawhide"
- image: "docker-opensuse-systemd"
tag: "latest"
- image: "docker-ubuntu-systemd"
Expand All @@ -38,8 +40,6 @@ molecule:
tag: "focal"
- image: "docker-ubuntu-systemd"
tag: "bionic"
- image: "docker-ubuntu-systemd"
tag: "lunar"

galaxy:
script:
Expand Down
9 changes: 4 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Here is how you can help, a lot of steps are related to GitHub, not specifically

When you spot an issue, [create an issue](https://github.com/buluma/ansible-role-snmpd/issues).

Making the issue help me and others to find similar problems in the future.
Raising the issue helps me and others to find similar problems and solutions in the future.

### [2. Fork the project.](#2-fork-the-project)

Expand All @@ -33,7 +33,7 @@ I typically do that by cloning the repository (in your namespace) locally:
git clone git@github.com:YOURNAMESPACE/ansible-role-snmpd.git
```

Now you can start to edit on your laptop.
Now you can start to edit on your laptop/PC.

### [4. Optionally: test your changes](#4-optionally-test-your-changes)

Expand Down Expand Up @@ -69,8 +69,7 @@ In the comment-box, you can [refer to the issue number](https://help.github.com/

### [7. Wait](#7-wait)

Now I'll get a message that you've added some code. Thank you, really.
Now I'll get a message that you've added some code. Thank you, trully.

CI starts to test your changes. You can follow the progress on GitHub.
CI starts to test your changes once pull request is reviewed. You can follow the progress on GitHub.

Please consider [sponsoring me](https://github.com/sponsors/buluma).
21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# [Ansible role snmpd](#snmpd)
# Ansible role [snmpd](https://galaxy.ansible.com/ui/standalone/roles/buluma/snmpd/documentation)

Install and configure snmpd on your system.

|GitHub|GitLab|Downloads|Version|Issues|Pull Requests|
|------|------|-------|-------|------|-------------|
|[![github](https://github.com/buluma/ansible-role-snmpd/actions/workflows/molecule.yml/badge.svg)](https://github.com/buluma/ansible-role-snmpd/actions/workflows/molecule.yml)|[![gitlab](https://gitlab.com/shadowwalker/ansible-role-snmpd/badges/master/pipeline.svg)](https://gitlab.com/shadowwalker/ansible-role-snmpd)|[![downloads](https://img.shields.io/ansible/role/d/4836)](https://galaxy.ansible.com/buluma/snmpd)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-snmpd.svg)](https://github.com/buluma/ansible-role-snmpd/releases/)|[![Issues](https://img.shields.io/github/issues/buluma/ansible-role-snmpd.svg)](https://github.com/buluma/ansible-role-snmpd/issues/)|[![PullRequests](https://img.shields.io/github/issues-pr-closed-raw/buluma/ansible-role-snmpd.svg)](https://github.com/buluma/ansible-role-snmpd/pulls/)|
|GitHub|Version|Issues|Pull Requests|Downloads|
|------|-------|------|-------------|---------|
|[![github](https://github.com/buluma/ansible-role-snmpd/actions/workflows/molecule.yml/badge.svg)](https://github.com/buluma/ansible-role-snmpd/actions/workflows/molecule.yml)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-snmpd.svg)](https://github.com/buluma/ansible-role-snmpd/releases/)|[![Issues](https://img.shields.io/github/issues/buluma/ansible-role-snmpd.svg)](https://github.com/buluma/ansible-role-snmpd/issues/)|[![PullRequests](https://img.shields.io/github/issues-pr-closed-raw/buluma/ansible-role-snmpd.svg)](https://github.com/buluma/ansible-role-snmpd/pulls/)|[![Ansible Role](https://img.shields.io/ansible/role/d/buluma/snmpd)](https://galaxy.ansible.com/ui/standalone/roles/buluma/snmpd/documentation)|

## [Example Playbook](#example-playbook)

Expand Down Expand Up @@ -111,9 +111,9 @@ snmpd_load:

The following roles are used to prepare a system. You can prepare your system in another way.

| Requirement | GitHub | GitLab |
| Requirement | GitHub | Version |
|-------------|--------|--------|
|[buluma.bootstrap](https://galaxy.ansible.com/buluma/bootstrap)|[![Build Status GitHub](https://github.com/buluma/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/buluma/ansible-role-bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/shadowwalker/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/shadowwalker/ansible-role-bootstrap)|
|[buluma.bootstrap](https://galaxy.ansible.com/buluma/bootstrap)|[![Ansible Molecule](https://github.com/buluma/ansible-role-bootstrap/actions/workflows/molecule.yml/badge.svg)](https://github.com/buluma/ansible-role-bootstrap/actions/workflows/molecule.yml)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-bootstrap.svg)](https://github.com/shadowwalker/ansible-role-bootstrap)|

## [Context](#context)

Expand All @@ -137,7 +137,7 @@ This role has been tested on these [container images](https://hub.docker.com/u/b
|[opensuse](https://hub.docker.com/repository/docker/buluma/opensuse/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/buluma/ubuntu/general)|all|

The minimum version of Ansible required is 2.10, tests have been done to:
The minimum version of Ansible required is 2.12, tests have been done to:

- The previous version.
- The current version.
Expand All @@ -151,14 +151,11 @@ If you find issues, please register them in [GitHub](https://github.com/buluma/a

## [License](#license)

[Apache-2.0](https://github.com/buluma/ansible-role-snmpd/blob/master/LICENSE).
[Apache-2.0](https://github.com/buluma/ansible-role-snmpd/blob/master/LICENSE)

## [Author Information](#author-information)

[buluma](https://buluma.github.io/)
[Shadow Walker](https://buluma.github.io/)

Please consider [sponsoring me](https://github.com/sponsors/buluma).

### [Special Thanks](#special-thanks)

Template inspired by [Robert de Bock](https://github.com/robertdebock)
5 changes: 2 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ These version of [ansible](https://pypi.org/project/ansible/) are supported:

| Version | Supported |
| ------- | ------------------ |
| 9 | :white_check_mark: |
| 8 | :white_check_mark: |
| 7 | :white_check_mark: |
| 6 | :white_check_mark: |
| 5 | :white_check_mark: |

## [Reporting a Vulnerability](#reporting-a-vulnarability)

Expand All @@ -20,4 +20,3 @@ Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.

Please consider [sponsoring me](https://github.com/sponsors/buluma).
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ galaxy_info:
description: Install and configure snmpd on your system.
license: Apache-2.0
company: none
min_ansible_version: "2.10"
min_ansible_version: "2.12"

platforms:
- name: Alpine
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ molecule-plugins[docker] == 23.*
ansible-lint == 6.*
paramiko == 3.*
# Pinning requests version due to [bug](https://github.com/docker/docker-py/issues/3113)
requests == 2.28.1
# requests == 2.28.1
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
#
[tox]
minversion = 4.2.4
# Ansible 6 and 7 are disabled, causing issues with Fedora:
# Ansible 7 is disabled, causing issues with Fedora:
# https://github.com/ansible/ansible/issues/81199#event-9773321055
# envlist = py3-ansible{6,7,8}
envlist = py3-ansible{8}
# envlist = py3-ansible{7,8,9}
envlist = py3-ansible{8,9}

skipsdist = true

[testenv]
deps =
-rrequirements.txt
ansible6: ansible == 6.*
ansible7: ansible == 7.*
ansible8: ansible == 8.*
ansible9: ansible == 9.*
commands = molecule test
setenv =
TOX_ENVNAME={envname}
Expand Down

0 comments on commit 25f7c14

Please sign in to comment.