Remove deprecated ansible_ssh_host variable
This changes 'ansible_ssh_host' to 'ansible_host'. The 'ansible_ssh_host' variable has been deprecated as noted here: [0]. [0] - http://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups Change-Id: Icd0874e88d7d2d8c14d568256e6fd59951b95858 Related-Bug: #1636606 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
1ae6750d64
commit
60a1889001
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
ansible_ssh_host: "{{ ansible_host }}"
|
ansible_host: "{{ ansible_host }}"
|
||||||
container_name: "{{ inventory_hostname }}"
|
container_name: "{{ inventory_hostname }}"
|
||||||
container_networks:
|
container_networks:
|
||||||
management_address:
|
management_address:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[all]
|
[all]
|
||||||
localhost ansible_become=True
|
localhost ansible_become=True
|
||||||
infra1 ansible_ssh_host=10.100.100.2 ansible_host=10.100.100.2 ansible_become=True ansible_user=root
|
infra1 ansible_host=10.100.100.2 ansible_host=10.100.100.2 ansible_become=True ansible_user=root
|
||||||
openstack1 ansible_ssh_host=10.100.100.3 ansible_host=10.100.100.3 ansible_become=True ansible_user=root
|
openstack1 ansible_host=10.100.100.3 ansible_host=10.100.100.3 ansible_become=True ansible_user=root
|
||||||
|
|
||||||
[all_containers]
|
[all_containers]
|
||||||
infra1
|
infra1
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
rally_galera_address: "{{ hostvars[groups['galera_all'][0]]['ansible_ssh_host'] }}"
|
rally_galera_address: "{{ hostvars[groups['galera_all'][0]]['ansible_host'] }}"
|
||||||
rally_galera_database: rally
|
rally_galera_database: rally
|
||||||
rally_galera_password: "SuperSecrete"
|
rally_galera_password: "SuperSecrete"
|
||||||
rally_venv_tag: "testing"
|
rally_venv_tag: "testing"
|
||||||
|
Loading…
Reference in New Issue
Block a user