Skip to content

Commit 7f890d2

Browse files
committed
ansible-lint: Fix reserved vars
1 parent cb57a15 commit 7f890d2

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.ansible-lint

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
skip_list:
22
- name[missing]
3-
- var-naming[no-reserved]
43
- var-naming[no-role-prefix]
54
- yaml[line-length]
65
- galaxy[no-changelog]

tests/test_container_content.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
method: GET
5050
status_code: 200
5151
force_basic_auth: true
52-
register: tags
52+
register: container_tags
5353

5454
- name: Assert that tags have been added
5555
assert:
5656
that:
57-
- tags.json.results | map(attribute='name') | sort | list == ['manifest_a', 'manifest_b']
57+
- container_tags.json.results | map(attribute='name') | sort | list == ['manifest_a', 'manifest_b']
5858

5959
# Test idempotence and not waiting
6060
- include_role:
@@ -96,12 +96,12 @@
9696
method: GET
9797
status_code: 200
9898
force_basic_auth: true
99-
register: tags
99+
register: container_tags
100100

101101
- name: Assert that manifest_b tag has been removed
102102
assert:
103103
that:
104-
- tags.json.results | map(attribute='name') | list == ['manifest_a']
104+
- container_tags.json.results | map(attribute='name') | list == ['manifest_a']
105105

106106
# Test idempotence
107107
- include_role:
@@ -141,12 +141,12 @@
141141
method: GET
142142
status_code: 200
143143
force_basic_auth: true
144-
register: tags
144+
register: container_tags
145145

146146
- name: Assert that all tags have been removed
147147
assert:
148148
that:
149-
- tags.json.results == []
149+
- container_tags.json.results == []
150150

151151
- include_role:
152152
name: pulp_container_content

0 commit comments

Comments
 (0)