Comment 7 for bug 1674947

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (stable/ocata)

Reviewed: https://review.openstack.org/481551
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=e9e64622504a00e5f65642335e172df66a446cc1
Submitter: Jenkins
Branch: stable/ocata

commit e9e64622504a00e5f65642335e172df66a446cc1
Author: Jesse Pretorius <email address hidden>
Date: Fri Jul 7 10:37:03 2017 +0100

    Change the variable name play_hosts to ansible_play_hosts

    Starting in Ansible 2.2, the play_hosts variable has been
    renamed to ansible_play_hosts. play_hosts is now deprecated
    and may be removed in a future release of Ansible.

    Also, the play_hosts variable represents the hosts in a
    serial batch, rather than all the hosts targeted by the
    playbook which is what these variables are intending.

    Reference: http://docs.ansible.com/ansible/playbooks_variables.html#magic-variables-and-how-to-access-information-about-other-hosts

    Backport note:
    Re-implementation of https://review.openstack.org/473197
    due to structural changes.

    Closes-Bug: 1674947
    Change-Id: I3540aee86c0fd3a2b0bf086d4770b765aa1a052e