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.
Reviewed: https:/ /review. openstack. org/481551 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=e9e64622504 a00e5f65642335e 172df66a446cc1
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit e9e64622504a00e 5f65642335e172d f66a446cc1
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: implementation of https:/ /review. openstack. org/473197
Re-
due to structural changes.
Closes-Bug: 1674947 a2b0bf086d4770b 765aa1a052e
Change-Id: I3540aee86c0fd3