Skip to content

Commit 0a23f67

Browse files
update jinja-go to 0.2.0
1 parent c167045 commit 0a23f67

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727
)
2828

2929
require (
30-
github.com/AlexanderGrooff/jinja-go v0.1.11
30+
github.com/AlexanderGrooff/jinja-go v0.2.0
3131
github.com/desops/sshpool v0.0.9
3232
github.com/google/go-cmp v0.6.0
3333
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
3737
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
3838
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
3939
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
40-
github.com/AlexanderGrooff/jinja-go v0.1.11 h1:BM7S/jvwTkOT2wv524hUGSOPtCR81wK6kBE+Ft8Qeco=
41-
github.com/AlexanderGrooff/jinja-go v0.1.11/go.mod h1:aoG8KNhUd/b1o7fPdixY5VlmqmB7zkFHB3Zc3bvUlJQ=
40+
github.com/AlexanderGrooff/jinja-go v0.2.0 h1:ol/S7Eo0czEBvo/tr2qEOhIMoZgiMZ1AVLX0qWn2Seg=
41+
github.com/AlexanderGrooff/jinja-go v0.2.0/go.mod h1:aoG8KNhUd/b1o7fPdixY5VlmqmB7zkFHB3Zc3bvUlJQ=
4242
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
4343
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
4444
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=

tests/playbooks/jinja_tests_playbook.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@
2424
- 4
2525
- 5
2626
- 6
27-
register: set_fact_result
2827

2928
- name: print set_fact_result
3029
debug:
31-
msg: "first list: {{ set_fact_result.list_1 }}, second list: {{ set_fact_result.list_2 }}"
30+
msg: "first list: {{ list_1 }}, second list: {{ list_2 }}"
3231

3332
- name: assert concatenate lists
3433
assert:
3534
that:
36-
- set_fact_result.list_1 == [1, 2, 3]
37-
- set_fact_result.list_2 == [4, 5, 6]
38-
- set_fact_result.list_1 + set_fact_result.list_2 == [1, 2, 3, 4, 5, 6]
35+
- list_1 == [1, 2, 3]
36+
- list_2 == [4, 5, 6]
37+
- list_1 + list_2 == [1, 2, 3, 4, 5, 6]

0 commit comments

Comments
 (0)