diff --git a/changelogs/fragments/assert.yml b/changelogs/fragments/assert.yml new file mode 100644 index 000000000..d425c6849 --- /dev/null +++ b/changelogs/fragments/assert.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - "orasw_meta: Removed warning from ansible ()" diff --git a/roles/orasw_meta/tasks/main.yml b/roles/orasw_meta/tasks/main.yml index 0b1215573..1a849bf70 100644 --- a/roles/orasw_meta/tasks/main.yml +++ b/roles/orasw_meta/tasks/main.yml @@ -4,7 +4,7 @@ ansible.builtin.assert: quiet: true that: - - "ansible_version.full is version('{{ _ao_ansible_executable_min_version }}', '>=')" + - ansible_version.full is version(_ao_ansible_executable_min_version , '>=') fail_msg: "Found version {{ ansible_version.full }} expected {{ _ao_ansible_executable_min_version }} or newer" vars: _ao_ansible_executable_min_version: 2.14