#356 standard-test-source: fix check for failed rpm-build
Merged 4 years ago by astepano. Opened 4 years ago by mvadkert.

@@ -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'

  

rebased onto f7421a4

4 years ago

Can confirm that this indeed fixes the The conditional check 'rpm_result.failed == true' failed. issue for me.

@gicmo thank you for the checking!

Commit b7d4c87 fixes this pull-request

Pull-Request has been merged by astepano

4 years ago

Pull-Request has been merged by astepano

4 years ago