| |
@@ -46,7 +46,8 @@
|
| |
|
| |
- fail:
|
| |
msg: "Some of the required packages were not found on the localhost: {{ rpm_result.results[0].stdout }}"
|
| |
- when: rpm_result.failed == true
|
| |
+ # `rpm_result` will become array, due to `with_items`
|
| |
+ when: rpm_result.results[0].failed == true
|
| |
|
| |
when: ansible_user_id != 'root'
|
| |
|
| |
Signed-off-by: Miroslav Vadkerti mvadkert@redhat.com