Skip to content

Commit

Permalink
Merge pull request #6 from wandansible/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
gizmoguy authored Aug 25, 2024
2 parents db288d5 + 649a2f8 commit 837a40a
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
github:
- gizmoguy
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
interval: "weekly"
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: pip3 install -r requirements.txt
- name: Lint ansible
uses: wandansible/action-ansible-lint@v1

jinja2-lint:
name: Jinja2 Lint
runs-on: ubuntu-latest
env:
J2LINT_FILES_REGEX: '^templates/.+$'
J2LINT_FILES_REGEX: "^templates/.+$"
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: pip3 install -r requirements.txt
- name: Install test dependencies
run: pip3 install -r test-requirements.txt
- name: Run molecule
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2022 The University of Waikato, Hamilton, New Zealand.
Copyright 2024 Brad Cowie

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Checks include:
* Ansible playbook directory is checked out from the right git branch
and there are no local changes in the git working tree.

Requirements
------------

To use this role, the python packages `netaddr`, `jmespath` and `passlib`
must be installed on the host running ansible.

Role Variables
--------------

Expand Down
2 changes: 2 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ galaxy_info:
versions:
- bullseye
- bookworm
- trixie
- name: Ubuntu
versions:
- focal
- jammy
- noble

galaxy_tags: []

Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
jmespath
passlib
netaddr
3 changes: 0 additions & 3 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
ansible
jmespath
passlib
netaddr
molecule
molecule-plugins[docker]

0 comments on commit 837a40a

Please sign in to comment.