rhel-system-roles-sap/SOURCES/sap-preconfigure-2bc922671e...

25 lines
1.1 KiB
Diff

commit 2bc922671e92c12d3954c249c51d4281e12d1274
Author: Bernd Finger <bfinger@redhat.com>
Date: Thu Mar 4 22:37:21 2021 +0100
solve issue #130
diff --git a/tasks/assert-installation.yml b/tasks/assert-installation.yml
index ae8c144..74a0378 100644
--- a/tasks/assert-installation.yml
+++ b/tasks/assert-installation.yml
@@ -16,10 +16,9 @@
- name: Assert that all required RHEL 7 package groups are installed
assert:
- that:
- - "'{{ line_item|replace(\'@\', \'\') }}' in yum_group_result.stdout_lines"
- fail_msg: "FAIL: Package group '{{ line_item|replace(\'@\', \'\') }}' is not installed!"
- success_msg: "PASS: Package group '{{ line_item|replace(\'@\', \'\') }}' is installed."
+ that: "'{{ line_item|replace(\"@\", \"\") }}' in yum_group_result.stdout_lines"
+ fail_msg: "FAIL: Package group '{{ line_item|replace(\"@\", \"\") }}' is not installed!"
+ success_msg: "PASS: Package group '{{ line_item|replace(\"@\", \"\") }}' is installed."
with_items:
- "{{ __sap_preconfigure_packagegroups }}"
loop_control: