Skip to content

Commit

Permalink
Fix ansible-test linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed May 21, 2024
1 parent fbc8328 commit c97c2b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- main

jobs:
molecule:
name: molecule
ansible_test:
name: ansible-test
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -29,7 +29,8 @@ jobs:
- python: 3.12
- ansible: stable-2.9
steps:

- uses: actions/checkout@v4
- run: rm -rf docker # prevent dockerfiles from being linted
- name: Perform sanity testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/ibridges_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
env:
description: A dictionary containing all the information about your iRODS environment.
required: false
type: str
type: dict
password:
description: The password to use to connect to iRODS.
required: true
Expand Down Expand Up @@ -121,7 +121,7 @@ def run_module():
)
try:
from ibridges import Session, sync_data, IrodsPath
except:
except ImportError:
module.fail_json(msg="Please install the 'ibridges' python package.", changed=False)

from pathlib import Path
Expand Down

0 comments on commit c97c2b9

Please sign in to comment.