From b4fb0725cf47305a6dfd0962005b5af2a923d937 Mon Sep 17 00:00:00 2001
From: CVL-GitHub <jupiter.hu@monash.edu>
Date: Thu, 15 Oct 2015 13:47:03 +1100
Subject: [PATCH] add centos 6 to ldapserver

---
 roles/karaage3.1.17/templates/index.html.j2 | 13 +++++++++----
 roles/ldapserver/vars/CentOS_6.6_x86_64.yml |  8 ++++++++
 2 files changed, 17 insertions(+), 4 deletions(-)
 create mode 100644 roles/ldapserver/vars/CentOS_6.6_x86_64.yml

diff --git a/roles/karaage3.1.17/templates/index.html.j2 b/roles/karaage3.1.17/templates/index.html.j2
index 4e1fda22..a714f820 100644
--- a/roles/karaage3.1.17/templates/index.html.j2
+++ b/roles/karaage3.1.17/templates/index.html.j2
@@ -1,4 +1,9 @@
-<html><body><h3>HPC identity management</h3>
-<p>To log in via AAF authentication, connect to <a href=https://{{ ansible_fqdn }}/aafbootstrap>aafbootstrap</a></p>
-<p>To log in without AAF authentication, connect to <a href=https://{{ ansible_fqdn }}/users>users</a></p>
-</body></html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<body><h3>HPC identity management (The landing page is under construction)</h3>
+<tr>
+<p>Monash HPC identity system is a new HPC user management system. Access to the HPC ID system is done through the Australian Access Federation (AAF) service. This allows you to login using your Institutional username and password.<br><br>If your organisation is not a member of the AAF or if you need helps, please contract HPC support at help@massive.org.au.</p>
+<tr>
+<p>Click following link <a href=https://{{ ansible_fqdn }}/aafbootstrap></a>to continue.</p>
+</body>
+</html>
diff --git a/roles/ldapserver/vars/CentOS_6.6_x86_64.yml b/roles/ldapserver/vars/CentOS_6.6_x86_64.yml
new file mode 100644
index 00000000..ae41ae86
--- /dev/null
+++ b/roles/ldapserver/vars/CentOS_6.6_x86_64.yml
@@ -0,0 +1,8 @@
+---
+ system_packages:
+  - openldap-servers
+  - openldap-clients
+  - openssl
+ dbname: olcDatabase={2}bdb
+ ldapuser: ldap
+ ldapgroup: ldap
-- 
GitLab