Commit 2be95e19 authored by nimrod's avatar nimrod
Browse files

Correct syntax errors in README.

parent 4790f821
Loading
Loading
Loading
Loading
+4
Changes for README.rst: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ Role Variables
--------------

::

    organization: '{{ ansible_domain }}' #Organization name, defaults to the domain name.
    domain: '{{ ansible_domain }}' #LDAP domain, converted to ldap formatted. Defaults to the domain name of the machine.
    basedn: #LDAP base distinguished name, defaults to machine's domain converted to LDAP format.
@@ -28,6 +29,7 @@ Example Playbook
----------------

::

    - hosts: servers
      roles:
         - ansible-ldap
@@ -46,9 +48,11 @@ Restore procedure
-----------------

Deleting existing basedn: ::

    ldapdelete -Y EXTERNAL -H ldapi:/// -rD "cn=admin,dc=example,dc=com" #Run as root, no password needed.
    ldapdelete -rxWD "cn=admin,dc=example,dc=com" #Run as any user, asks for OpenLDAP admin password.

Restoring from backup: ::

    ldapadd -Y EXTERNAL -H ldapi:/// -D "cn=admin,dc=example,dc=com -f backup.ldif #Run as root, no password needed.
    ldapadd -xWD "cn=admin,dc=example,dc=com -f backup.ldif #Run as any user, asks for OpenLDAP admin password.