Skip to content

Commit

Permalink
chore: Update ansible-lint and fix low hanging fruit (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Dec 19, 2024
1 parent cbe5e09 commit 6ac21c4
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .ansible-lint-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file contains ignores rule violations for ansible-lint

# We should start writing changelogs at some point
galaxy.yml galaxy[no-changelog]
8 changes: 8 additions & 0 deletions .ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
exclude_paths:
- .github/
- venv/
write_list:
- all
warn_list:
- meta-runtime[unsupported-version]
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:

jobs:
call-workflow:
uses: radiorabe/actions/.github/workflows/release-ansible-collection.yaml@v0.24.0
uses: radiorabe/actions/.github/workflows/release-ansible-collection.yaml@v0.26.0
secrets:
GALAXY_API_KEY: ${{ secrets.GALAXY_API_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:

jobs:
call-workflow:
uses: radiorabe/actions/.github/workflows/semantic-release.yaml@v0.24.0
uses: radiorabe/actions/.github/workflows/semantic-release.yaml@v0.26.0
secrets:
RABE_ITREAKTION_GITHUB_TOKEN: ${{ secrets.RABE_ITREAKTION_GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ on:

jobs:
call-workflow:
uses: radiorabe/actions/.github/workflows/test-ansible-collection.yaml@v0.24.0
uses: radiorabe/actions/.github/workflows/test-ansible-collection.yaml@v0.26.0
2 changes: 2 additions & 0 deletions galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
namespace: radiorabe
name: certbot
version: 0.0.0
Expand All @@ -7,6 +8,7 @@ authors:
description: Ansible collection that installs certbot for issuing letsencrypt certificates and pushing them to remote host.
license_file: LICENSE
tags:
- application
- radiorabe
- foreman
- letsencrypt
Expand Down
3 changes: 2 additions & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
requires_ansible: ">=2.11,<2.17"
---
requires_ansible: ">=2.14.0"
4 changes: 3 additions & 1 deletion playbook.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- hosts: all
---
- name: Run certbot role
hosts: all
roles:
- role: certbot
3 changes: 2 additions & 1 deletion roles/certbot/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
galaxy_info:
author: RaBe IT-Reaktion
description: Install certbot, configure certificate renewal and deploy certificates to another host.
issue_tracker_url: https://github.com/radiorabe/ansible-collection-certbot/issues
license: AGPL-3.0-only
min_ansible_version: '2.9'
min_ansible_version: "2.14"
platforms:
- name: EL
versions:
Expand Down

0 comments on commit 6ac21c4

Please sign in to comment.