Skip to content

Commit 4b0cf7f

Browse files
committed
fix: deps
1 parent dede417 commit 4b0cf7f

File tree

5 files changed

+26
-6
lines changed

5 files changed

+26
-6
lines changed

Diff for: .github/workflows/ansible-lint.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# .github/workflows/ansible-lint.yml
2+
---
3+
name: ansible-lint
4+
on:
5+
pull_request:
6+
branches: ["main", "stable", "release/v*"]
7+
jobs:
8+
build:
9+
name: Ansible Lint # Naming the build is important to use it as a status check
10+
runs-on: ubuntu-24.04
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Run ansible-lint
14+
uses: ansible/ansible-lint@main
15+
# optional (see below):
16+
with:
17+
args: ""
18+
setup_python: "true"
19+
working_directory: ""
20+
requirements_file: ""

Diff for: .github/workflows/release.yml renamed to .github/workflows/release-galaxy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install Ansible
3434
run: |
3535
python -m pip install --upgrade pip
36-
pip install ansible
36+
pip install -r requirements.txt
3737
3838
- name: Install required collections
3939
run: |

Diff for: .pre-commit-hooks.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- id: ansible-lint
66
name: Ansible-lint
77
description: This hook runs ansible-lint.
8-
entry: python3 -m ansiblelint -v --force-color
8+
entry: python3 -m ansiblelint -v --force-color --exclude .ansible
99
language: python
1010
# do not pass files to ansible-lint, see:
1111
# https://github.com/ansible/ansible-lint/issues/611

Diff for: requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ansible==11.1.0
2-
ansible-compat==24.10.0
2+
ansible-compat==25.1.2
33
ansible-core==2.18.1
4-
ansible-lint==24.12.0
4+
ansible-lint==25.1.2
55
docker==7.1.0
66
molecule==24.12.0
77
molecule-docker==2.1.0

Diff for: tests/roles/testrsync_server/tasks/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
that:
6262
- ansible_facts.services.rsync['state'] == 'running'
6363

64-
# - name: Gather facts on listening ports
65-
# community.general.listen_ports_facts:
64+
- name: Gather facts on listening ports
65+
community.general.listen_ports_facts:
6666

6767
- name: Test assert TCP port
6868
ansible.builtin.assert:

0 commit comments

Comments
 (0)