diff --git a/tasks/configure_ldap.yml b/tasks/configure_ldap.yml index 12929d6..9669749 100644 --- a/tasks/configure_ldap.yml +++ b/tasks/configure_ldap.yml @@ -14,7 +14,7 @@ shell: openssl rsa -in my1.key -passin pass:password -out my.key chdir={{ openldap_server_app_path }}/certs/ creates={{ openldap_server_app_path }}/certs/my.key -- name: Create and sign the the new certificate +- name: Create and sign the new certificate shell: openssl req -new -x509 -subj '/C={{ openldap_server_country }}/ST={{ openldap_server_state }}/L={{ openldap_server_location }}/O={{ openldap_server_organization }}/CN={{ ansible_hostname }}/' -days 3650 -key my.key -out cert.crt -extensions v3_ca chdir={{ openldap_server_app_path }}/certs/ creates={{ openldap_server_app_path }}/certs/cert.crt - name: copy the supporting files