# nodes. But it must be available on the machine running 'mclu'.
xmls_dir = %(config_dir)s/xmls/
-# The nodes section lists all nodes. The keys don't need to be
-# sequential, but must start with 'node'. The values are the short
-# names of the nodes. If a node goes out of service permanently, you
-# can just comment it out here.
-[nodes]
-node0 = ham0
-node1 = ham1
-node2 = ham2
-node3 = ham3
-
-# You need one section per node listed in [nodes].
-# Possible fields are:
-# host
-# Hostname or IP address of the node, if omitted it uses the
-# node name as the hostname
-# mac
-# MAC (ethernet) address (only used for wake-on-LAN)
-# uri
-# Libvirt URI used to access the remote libvirt daemon running
-# on the node. The default is: qemu+ssh://root@%(host)s/system
-# Note that you must allow passwordless root ssh access (eg.
-# using ssh-agent).
-[ham0]
-host = ham0.home.annexia.org
-mac = 74:d4:35:55:85:3f
-#uri = qemu+ssh://root@%(host)s/system
-[ham1]
-host = ham1.home.annexia.org
-mac = 74:d4:35:51:ab:86
-#uri = qemu+ssh://root@%(host)s/system
-[ham2]
-host = ham2.home.annexia.org
-mac = 74:d4:35:55:82:96
-#uri = qemu+ssh://root@%(host)s/system
-[ham3]
-host = ham3.home.annexia.org
-mac = 74:d4:35:55:84:b4
-#uri = qemu+ssh://root@%(host)s/system
+# The name of the ansible group which contains the list of nodes
+# in the cluster. You have to edit /etc/ansible/hosts and add a
+# section:
+#
+# [cluster]
+# ham0 mac=74:d4:35:55:85:3f
+# ham1 mac=74:d4:35:51:ab:86
+# ham2 mac=74:d4:35:55:82:96
+# ham3 mac=74:d4:35:55:84:b4
+#
+# The mac=... (MAC addresses) are optional, to support wake-on-LAN.
+#
+# If you don't want to edit /etc/ansible/hosts then you can export
+# $ANSIBLE_HOSTS to name another file instead.
+nodes_group = cluster