commit | 573bafcc6ce7500187c98a2ced6439571266e445 | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@artisancomputer.com> | Fri Feb 26 16:35:42 2016 -0700 |
committer | Zack Williams <zdw@artisancomputer.com> | Fri Feb 26 16:35:42 2016 -0700 |
tree | 2652d0dbaa4467a57161f4b33c4b8e5a2052e160 | |
parent | c1690b4f873cc370c2bc05d8dc6e6821ab628d15 [diff] |
working through ansible conversion of juju-setup.py
diff --git a/roles/create-vms/templates/ansible_hosts.j2 b/roles/create-vms/templates/ansible_hosts.j2 new file mode 100644 index 0000000..9b6096e --- /dev/null +++ b/roles/create-vms/templates/ansible_hosts.j2
@@ -0,0 +1,8 @@ +[localhost] +127.0.0.1 hostname={{ ansible_fqdn }} + +[services] +{% for vm in head_vm_list -%} +{{ vm.name }} +{% endfor -%} +