Skip to content

Commit e9bc87e

Browse files
committed
Resolve duplicate 'vars' key warning
Ansible showed the following warning: While constructing a mapping from /var/lib/zuul/builds/071fbb91f78b4 0e69d63dff011a965a4/untrusted/project_0/softwarefactory-project.io/software- factory/sf-operator/playbooks/run-tests.yaml, line 2, column 3, found a duplicate dict key (vars). Using last defined value only. - playbooks/run-tests.yaml: Fix duplicated `vars:` section. Change-Id: I2be501e4ac172dc8f29ba3858053db48f5c8231f
1 parent 78ab6b0 commit e9bc87e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

playbooks/run-tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
- hosts: "{{ hostname | default('controller') }}"
33
vars:
44
mode: standalone
5-
vars:
65
project_dir: "{% if zuul.project.src_dir is defined %}~/{{ zuul.project.src_dir }}{% else %}..{% endif %}"
76
pre_tasks:
87
- name: Install test dependencies

0 commit comments

Comments
 (0)