Commit 446a4331 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'patch-1' into 'master'

Fix deprecated ansible variables

See merge request !92
parents d68771ea 510cae7f
Pipeline #1811 passed with stage
in 49 seconds
......@@ -25,9 +25,9 @@ def list_running_hosts(client):
def get_host_details(client, host):
server = client.servers.get_by_name(host)
return {'ansible_ssh_host': server.public_net.ipv4.ip,
'ansible_ssh_port': 22,
'ansible_ssh_user': "root"}
return {'ansible_host': server.public_net.ipv4.ip,
'ansible_port': 22,
'ansible_user': "root"}
def main():
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment