Commit 4082faa5 authored by Spiros Koulouzis's avatar Spiros Koulouzis

clean up

parent 82343d77
This diff is collapsed.
......@@ -22,12 +22,16 @@ from os.path import expanduser
hosts="localhost,"
home = expanduser("~")
playbook_path=home+"/workspace/DRIP/drip-deployer/deployer_files/1513695133139/playbook.yml"
playbook_path=home+"/Downloads/playbook.yml"
ip = "147.228.242.81"
user="vm_user"
ssh_key_file=home+"/workspace/DRIP/drip-deployer/deployer_files/1513695133139/1.txt"
extra_vars = {}
passwords = {}
role = "master"
ssh_key_file=home+"/Downloads/id_rsa"
vm_list = set()
vm = VmInfo(ip, user, ssh_key_file, role)
vm_list.add(vm)
ansible_playbook.execute_playbook(hosts,playbook_path,user,ssh_key_file,extra_vars,passwords)
\ No newline at end of file
ret = ansible_playbook.run(vm_list,playbook_path,"localhost","owner")
\ No newline at end of file
Markdown is supported
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