Skip to content

Commit 6deb2c3

Browse files
committed
Skip host check
The host key is not saved in the template anymore (for security reasons). Skip checking differences in this key between template and local file.
1 parent 175fb85 commit 6deb2c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/check-up-to-date.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
# Remove the keys expected to be different and lines specific to the diff-format.
3232
cmd: >-
3333
diff vars/{{ service }}/{{ deployment }}.yml vars/{{ service }}/{{ deployment }}_template.yml |
34-
sed '/api_key/d;/[0-9]\+c[0-9]\+/d;/---/d'
34+
sed '/api_key/d;/[0-9]\+c[0-9]\+/d;/---/d' |
35+
sed '/host/d;/[0-9]\+c[0-9]\+/d;/---/d'
3536
register: vars_diff
3637
changed_when: vars_diff.rc != 0
3738
failed_when: vars_diff.rc != 0

0 commit comments

Comments
 (0)