Rewrite to use ansible.
[mclu.git] / configure.ac
index 3ba8958..de668bc 100644 (file)
@@ -40,6 +40,14 @@ if test "x$SSH" = "xno"; then
     AC_MSG_ERROR([SSH client is required])
 fi
 
+dnl Ansible client (required).
+dnl Actually the ansible command line tool is not used, but we do use
+dnl the Python library.  XXX Should check for that instead.
+AC_PATH_PROG([ANSIBLE],[ansible],[no])
+if test "x$ANSIBLE" = "xno"; then
+    AC_MSG_ERROR([ansible is required])
+fi
+
 dnl Wake-on-LAN client (optional).
 AC_PATH_PROG([WOL],[wol],[no])