Skip to content

Commit 83ddd5d

Browse files
committed
make linter happy
1 parent be35787 commit 83ddd5d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.ansible-lint

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ skip_list:
66
- galaxy[version-incorrect]
77
- meta-runtime[unsupported-version]
88
- fqcn[action-core]
9+
10+
# Ensure dependent collections are not linted
11+
exclude_paths:
12+
- .ansible/

roles/pulp_container_content/tasks/process_content.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
- content_item.state | default('present') != 'present' or content_item.src_repo is defined
5656

5757
- name: Resolve tags
58+
when: ref_repo_version is defined
5859
block:
5960
- name: List tags from reference repository
6061
pulp.squeezer.api_call:
@@ -82,7 +83,6 @@
8283
- name: Set content units to process
8384
set_fact:
8485
content_units: "{{ tags_result.response.results | map(attribute='pulp_href') | list }}"
85-
when: ref_repo_version is defined
8686

8787
- name: Add content to repository
8888
pulp.squeezer.api_call:

0 commit comments

Comments
 (0)