Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-checkmk committed Feb 16, 2024
1 parent 0433f90 commit 160f068
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/targets/lookup_version/tasks/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
ansible.builtin.assert:
that: "outer_item.version in looked_up_version.msg"

- name: "{{ outer_item.version }} - {{ outer_item.edition | upper }} - Get Checkmk version."
- name: "{{ outer_item.version }} - {{ outer_item.edition | upper }} - Use variables outside the module call."
ansible.builtin.assert:
that: "outer_item.version in looked_up_version.msg"
vars:
version: "{{ lookup('checkmk.general.version') }}"
delegate_to: localhost
register: looked_up_version

0 comments on commit 160f068

Please sign in to comment.