From bb208192872c841cafdb27769f3680a56b18fa65 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Sat, 22 Apr 2017 09:06:05 +0800 Subject: Rename folders * copy -> defaults * render -> custom * roles -> ansible_roles Change-Id: Ia96214691873f3bd8e6c5f9f433292fd912ac46e Signed-off-by: Yujun Zhang --- .../qtip-workspace/files/defaults/templates/hosts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 resources/ansible_roles/qtip-workspace/files/defaults/templates/hosts (limited to 'resources/ansible_roles/qtip-workspace/files/defaults/templates/hosts') diff --git a/resources/ansible_roles/qtip-workspace/files/defaults/templates/hosts b/resources/ansible_roles/qtip-workspace/files/defaults/templates/hosts new file mode 100644 index 00000000..6779d6f4 --- /dev/null +++ b/resources/ansible_roles/qtip-workspace/files/defaults/templates/hosts @@ -0,0 +1,20 @@ +localhost ansible_connection=local + +[{{ installer_master_group[installer] }}] +{{ installer_master_host }} + +[fuel-groups:children] +{% for group in hosts|sort %} +{{ group }} +{% endfor %} + +[fuel-groups:vars] +ansible_ssh_common_args=-F ./ssh.cfg + +{% for group in hosts|sort %} +[{{ group }}] +{% for host in hosts[group]|sort %} +{{ host }} +{% endfor %} + +{% endfor %} -- cgit 1.2.3-korg