openstack-ansible/releasenotes/notes/ansible_ssh_host_var_removed-984abb4bbeb17366.yaml
Nolan Brubaker 20e246de8f Remove ansible_ssh_host variable from inventory
Due to upstream Ansible deprecating the `ansible_ssh_host` variable,
this key is removed from the generated inventory in order to avoid
confusion. While Newton also supports Ansible 2.x, this change is
intended to only be in effect from Ocata forward.

From
http://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups:

"Ansible 2.0 has deprecated the “ssh” from ansible_ssh_user,
ansible_ssh_host, and ansible_ssh_port to become ansible_user,
ansible_host, and ansible_port. If you are using a version of Ansible
prior to 2.0, you should continue using the older style variables
(ansible_ssh_*). These shorter variables are ignored, without warning,
in older versions of Ansible."

Fixes-Bug: #1636606

Change-Id: If43b28247a9df3db76217b1147fab785f1235532
2016-10-27 12:39:47 -04:00

7 lines
256 B
YAML

---
upgrades:
- The `ansible_ssh_host` variable is removed in favor of `ansible_host`.
Generated inventory will no longer contain the `ssh` variant. For more
details, see
http://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups.