Remove use of ansible_ssh_port

The use of ansible_ssh_port is deprecated in Ansible 2. Explicitly check port 22 in
the lxc_containers_create playbook to avoid using ansible_ssh_port and
to be consistent with all of the other playbooks.

Change-Id: I17f00f2977c8e8ad3a3e15e2083f8f22e525e1b9
This commit is contained in:
Jimmy McCrory 2015-12-11 14:06:48 -08:00 committed by Jesse Pretorius
parent c21e88e8c0
commit 3d65badd59

View File

@ -24,7 +24,7 @@
- name: Wait for ssh to be available
local_action:
module: wait_for
port: "{{ ansible_ssh_port | default('22') }}"
port: "22"
host: "{{ ansible_ssh_host | default(inventory_hostname) }}"
search_regex: OpenSSH
delay: 1