Comment 2 for bug 1805342

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/620236
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=01fb1895a29a6f114045bef231feb6160b65ba80
Submitter: Zuul
Branch: master

commit 01fb1895a29a6f114045bef231feb6160b65ba80
Author: Radoslaw Smigielski <email address hidden>
Date: Tue Nov 27 08:21:34 2018 +0100

    Fix AnsibleAction.run() when argument is not a dict

    Fix ad hoc commands executed by AnsibleAction.run() when command is not
    passed as a dict() but as a normal string, the same way like ordinary
    ansible command works.
    Check if argument is a dict() and only if it is, use json.dumps() on it.
    And not break commands passed as string.

    Change-Id: I8b18658bfbae57f264db007e5e81556b0512ef55
    Closes-bug: 1805342