Giter VIP home page Giter VIP logo

openldap_server's Introduction

openldap_server

This roles installs the OpenLDAP server on the target machine. It has the option to enable/disable SSL by setting it in defaults or overriding it.

Requirements

This role requires Ansible 1.4 or higher, and platform requirements are listed in the metadata file.

Role Variables

The variables that can be passed to this role and a brief description about them are as follows:

openldap_serverdomain_name: example.com    # The domain prefix for ldap
openldap_serverrootpw: passme              # This is the password for admin for openldap
openldap_serverenable_ssl: true            # To enable/disable ssl for the ldap
openldap_servercountry: US                 # The self signed ssl certificate parameters
openldap_serverstate: Oregon
openldap_serverlocation: Portland
openldap_serverorganization: IT

# Create users
openldap_enable_user_creation: true
openldap_server_users:
  staff:
    william:
      password: 26April1564
      fullname: William Shakespeare
      givenname: William
      surname: Shakespeare
      email: [email protected]
      shell: /usr/bin/zsh
      phone: "555-5555-555"
    john:
      password: 31Oct1795
      fullname: John Keats
      givenname: John
      surname: Keats
      email: [email protected]
      shell: /usr/bin/bash

Examples

  1. Configure an OpenLDAP server without SSL:

    • hosts: all sudo: true roles:
      • role: bennojoy.openldap_server openldap_server_domain_name: example.com openldap_server_rootpw: passme openldap_server_enable_ssl: false
  2. Configure an OpenLDAP server with SSL:

    • hosts: all sudo: true roles:
      • role: bennojoy.openldap_server openldap_server_domain_name: example.com openldap_server_rootpw: passme openldap_server_enable_ssl: true openldap_server_country: US openldap_server_state: Oregon openldap_server_location: Portland openldap_server_organization: IT

Dependencies

None

License

BSD

Author Information

Benno Joy

openldap_server's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.