From 42a3cb372b448bcbe03aa00b86267f40b6d1808f Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Thu, 20 Nov 2014 04:26:54 +0000
Subject: [PATCH] eample of how to use the ldap and karaage roles in the
 topplay

---
 topplay.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/topplay.yml b/topplay.yml
index 86513d0..5a89db4 100644
--- a/topplay.yml
+++ b/topplay.yml
@@ -92,3 +92,18 @@
 #      - { role: slurm }
 #      - { role: test_user }
 #
+- hosts: 'karaage'
+  vars:
+    x509_ca_server: "{{ groups['x509_ca'][0] }}"
+    smtp_smarthost: "does_not_exist.massive.org.au"
+    ldapDomain: "dc=test,dc=massive,dc=org,dc=au"
+    ldapURL: "ldaps://{{ hostvars[groups['ldapserver'][0]]['ansible_fqdn'] }}"
+  roles:
+  - { role: karaage2.7 }
+
+- hosts: 'ldapserver'
+  vars:
+    x509_ca_server: "{{ groups['x509_ca'][0] }}"
+    ldapDomain: "dc=test,dc=massive,dc=org,dc=au"
+  roles:
+  - { role: ldapserver }
-- 
GitLab