Changeset - 90417b999b1e
[Not reviewed]
0 1 2
Branko Majic (branko) - 9 years ago 2015-03-08 11:23:07
branko@majic.rs
MAR-3: Adding the XMPP server to test site. Updated LDAP entry creation in test site to include the XMPP-related entries (service entry and group).
3 files changed with 53 insertions and 0 deletions:
0 comments (0 inline, 0 general)
testsite/group_vars/ldap.yml
Show inline comments
 
@@ -52,6 +52,9 @@ ldap_entries:
 
  - dn: ou=groups,dc=example,dc=com
 
    objectClass: organizationalUnit
 
    ou: groups
 
  - dn: ou=services,dc=example,dc=com
 
    objectClass: organizationalUnit
 
    ou: services
 
  - dn: uid=johndoe,ou=people,dc=example,dc=com
 
    objectClass:
 
      - inetOrgPerson
 
@@ -68,3 +71,15 @@ ldap_entries:
 
    sn: Doe
 
    userPassword: janedoe
 
    mail: jane.doe@example.com
 
  - dn: cn=xmpp,ou=services,dc=example,dc=com
 
    objectClass:
 
      - applicationProcess
 
      - simpleSecurityObject
 
    cn: xmpp
 
    userPassword: xmpp
 
  - dn: cn=xmpp,ou=groups,dc=example,dc=com
 
    objectClass: groupOfUniqueNames
 
    cn: xmpp
 
    uniqueMember:
 
      - uid=johndoe,ou=people,dc=example,dc=com
 
      - uid=janedoe,ou=people,dc=example,dc=com
testsite/group_vars/xmpp.yml
Show inline comments
 
new file 100644
 
---
 

	
 
prosody_administrators:
 
  - john.doe@example.com
 

	
 
prosody_tls_key: /etc/prosody/certs/localhost.key
 

	
 
prosody_tls_certificate: /etc/prosody/certs/localhost.crt
 

	
 
prosody_domains:
 
  - example.com
 

	
 
prosody_conference_fqdn:
 
  - conference.example.com
 

	
 
prosody_proxy_fqdn: proxy.example.com
 

	
 
prosody_ldap_server: ldap.example.com
 

	
 
prosody_ldap_bind_dn: cn=prosody,ou=services,dc=example,dc=com
 

	
 
prosody_ldap_password: prosody
 

	
 
prosody_ldap_filter: '(memberOf=cn=xmpp,ou=groups,dc=example,dc=com)'
 

	
 
prosody_ldap_scope: "onelevel"
 

	
 
prosody_ldap_tls: "true"
 

	
 
prosody_ldap_base: "ou=people,dc=example,dc=com"
testsite/playbooks/xmpp.yml
Show inline comments
 
new file 100644
 
---
 

	
 
- hosts: xmpp
 
  remote_user: ansible
 
  sudo: yes
 
  roles:
 
    - common
 
    - prosody
0 comments (0 inline, 0 general)