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:
Travis Truman 2016-09-14 10:20:52 -04:00
parent d68b9c91b9
commit 6d9694e206
2 changed files with 2 additions and 3 deletions

View File

@ -299,8 +299,8 @@
- name: Wait for ssh to be available
local_action:
module: wait_for
port: "{{ ansible_ssh_port | default('22') }}"
host: "{{ ansible_ssh_host | default(inventory_hostname) }}"
port: "{{ ansible_port | default('22') }}"
host: "{{ ansible_host | default(inventory_hostname) }}"
search_regex: OpenSSH
delay: "{{ lxc_container_ssh_delay }}"
register: ssh_wait_check

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
ansible_ssh_host: "{{ ansible_host }}"
container_name: "{{ inventory_hostname }}"
container_networks: