From 52adeacf3dc08f1dcf164cff3faa11b181058bb5 Mon Sep 17 00:00:00 2001 From: Kevin ARBOUIN Date: Wed, 7 May 2014 20:41:57 +0200 Subject: [PATCH 1/2] Add access file for debian --- tasks/install_ldap.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/install_ldap.yml b/tasks/install_ldap.yml index c2aba5e..fe2e316 100644 --- a/tasks/install_ldap.yml +++ b/tasks/install_ldap.yml @@ -19,21 +19,21 @@ file: path={{ openldap_server_app_path }}/slapd.d state=absent - name: Generate the root password for ldap - shell: slappasswd -s {{ openldap_server_rootpw }} + shell: slappasswd -s {{ openldap_server_rootpw }} register: root_password - name: Copy the slapd.conf configuration file for Redhat template: src=slapd.conf.j2 dest={{ openldap_server_app_path }}/slapd.conf when: ansible_os_family == "RedHat" - notify: + notify: - restart slapd - name: Copy the slapd.conf configuration file - template: src=slapd.conf_ubuntu.j2 dest={{ openldap_server_app_path }}/slapd.conf +template: src=slapd.conf_ubuntu.j2 dest={{ openldap_server_app_path }}/slapd.conf owner={{ openldap_server_user }} group={{ openldap_server_user }} mode=0644 when: ansible_os_family == "Debian" - notify: + notify: - restart slapd - name: Copy the ldap.conf configuration file - template: src=ldap.conf.j2 dest={{ openldap_server_app_path }}/ldap.conf + template: src=ldap.conf.j2 dest={{ openldap_server_app_path }}/ldap.conf owner={{ openldap_server_user }} group={{ openldap_server_user }} mode=0644 From de3a9c79c464ea1bbd69c63611494d0fd84442c4 Mon Sep 17 00:00:00 2001 From: Kevin ARBOUIN Date: Wed, 7 May 2014 20:44:32 +0200 Subject: [PATCH 2/2] Add platforms supported --- meta/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/main.yml b/meta/main.yml index dce6ead..6dc7972 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -19,6 +19,9 @@ galaxy_info: - quantal - raring - saucy + - name: Debian + - squeeze + - wheezy categories: - system dependencies: []