Reset deploy host SSH connection after running openstack_hosts role
The openstack hosts role adjusts environment variable settings which need to be available later in the deployment to ansible tasks. Ensure that the ssh connection is re-established so that these variables will be in scope on the target host. Change-Id: Ie1905a1d939d2852752f35c7a8fa52bf8aeac3b6
This commit is contained in:
parent
57ac756465
commit
5e07412fcc
@ -71,6 +71,9 @@
|
||||
vars_files:
|
||||
- defaults/repo_packages/openstack_services.yml
|
||||
- "defaults/{{ install_method }}_install.yml"
|
||||
post_tasks:
|
||||
- name: Ensure deploy host SSH connection is reset
|
||||
meta: reset_connection
|
||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||
tags:
|
||||
- openstack-hosts
|
||||
|
Loading…
x
Reference in New Issue
Block a user