Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiwowa-csco committed Jan 29, 2025
1 parent 10a5095 commit 3c22bec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ exclude_paths:
- .dev_dir/example_dev_vars.yml
- .dev_dir/*
- playbooks/tests/configuration_file_dev_vars.yml
- .ansible
# parseable: true
# quiet: true
# strict: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- uses: isort/isort-action@master
with:
requirementsFiles: "requirements.txt"
isortVersion: '5.12.0'

- name: Install pycln
run: pip install pycln==2.4.0
Expand Down
4 changes: 2 additions & 2 deletions roles/onboarding_controllers/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
username: "{{ (vmanage_instances | first).admin_username }}"
password: "{{ (vmanage_instances | first).admin_password }}"
register: device_details_info
loop: "{{ vsmart_instances + vbond_instances + [(vmanage_instances | first)] }}"
loop: "{{ vsmart_instances + vbond_instances + [vmanage_instances | first] }}"
loop_control:
loop_var: device_item
label: "hostname: {{ device_item.hostname }}, device_ip: {{ device_item.system_ip }}"
Expand All @@ -85,7 +85,7 @@
username: "{{ (vmanage_instances | first).admin_username }}"
password: "{{ (vmanage_instances | first).admin_password }}"
register: device_details_info
loop: "{{ vsmart_instances + vbond_instances + [(vmanage_instances | first)] }}"
loop: "{{ vsmart_instances + vbond_instances + [vmanage_instances | first] }}"
loop_control:
loop_var: device_item
label: "hostname: {{ device_item.hostname }}, device_ip: {{ device_item.system_ip }}"
Expand Down

0 comments on commit 3c22bec

Please sign in to comment.