Skip to content

Commit d89fe9a

Browse files
committed
refactor: support ansible 2.19
Do not use ansible_managed directly Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent fb4cc94 commit d89fe9a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/tasks/check_header.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
- name: Check for presence of ansible managed header, fingerprint
1010
assert:
1111
that:
12-
- ansible_managed in content
12+
- __ansible_managed in content
1313
- __fingerprint in content
1414
vars:
1515
content: "{{ (__file_content | d(__content)).content | b64decode }}"
16-
ansible_managed: "{{ lookup('template', 'get_ansible_managed.j2') }}"
16+
__ansible_managed: "{{ lookup('template', 'get_ansible_managed.j2') }}"

0 commit comments

Comments
 (0)