Address ansible_ssh_* var deprecation
Replacing usage of ansible_ssh_host, ansible_ssh_user, ansible_ssh_port with ansible_host, ansible_user and ansible_port Change-Id: Iabc688b5413286c23d6f0b7ce944faf8bfeb74f2
This commit is contained in:
parent
d68b9c91b9
commit
6d9694e206
|
@ -299,8 +299,8 @@
|
||||||
- name: Wait for ssh to be available
|
- name: Wait for ssh to be available
|
||||||
local_action:
|
local_action:
|
||||||
module: wait_for
|
module: wait_for
|
||||||
port: "{{ ansible_ssh_port | default('22') }}"
|
port: "{{ ansible_port | default('22') }}"
|
||||||
host: "{{ ansible_ssh_host | default(inventory_hostname) }}"
|
host: "{{ ansible_host | default(inventory_hostname) }}"
|
||||||
search_regex: OpenSSH
|
search_regex: OpenSSH
|
||||||
delay: "{{ lxc_container_ssh_delay }}"
|
delay: "{{ lxc_container_ssh_delay }}"
|
||||||
register: ssh_wait_check
|
register: ssh_wait_check
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
# 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 }}"
|
|
||||||
container_name: "{{ inventory_hostname }}"
|
container_name: "{{ inventory_hostname }}"
|
||||||
|
|
||||||
container_networks:
|
container_networks:
|
||||||
|
|
Loading…
Reference in New Issue