-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for installation on RHEL like target ( and keep Debian too ) #7
- Add supported targets and update README with RHEL support. - move certificate setup task in a dedicated file - update backup template with removal of optional cert related values if not provided - fix oclcSyncrepl typo missing " after tls_key= in backup template
- Loading branch information
1 parent
4e87162
commit b336d1f
Showing
5 changed files
with
126 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
- name: allow ldap to read TLS certificates | ||
ansible.builtin.user: | ||
name: "{{ ldaptoolbox_openldap_configuration_owner }}" | ||
groups: "{{ ldaptoolbox_openldap_sslgroup }}" | ||
state: present | ||
when: ( ldaptoolbox_openldap_olcTLSCertificateFile ) | ||
|
||
- name: Ensure correct file ownership, group and permissions for CA | ||
ansible.builtin.file: | ||
path: "{{ ldaptoolbox_openldap_olcTLSCACertificateFile }}" | ||
owner: "root" | ||
group: "root" | ||
mode: "644" | ||
when: ( ldaptoolbox_openldap_olcTLSCACertificateFile ) | ||
|
||
- name: Ensure correct file ownership, group and permissions for certificate | ||
ansible.builtin.file: | ||
path: "{{ ldaptoolbox_openldap_olcTLSCertificateFile }}" | ||
owner: "root" | ||
group: "root" | ||
mode: "644" | ||
when: ( ldaptoolbox_openldap_olcTLSCertificateFile ) | ||
|
||
- name: Ensure correct file ownership, group and permissions for key | ||
ansible.builtin.file: | ||
path: "{{ ldaptoolbox_openldap_olcTLSCertificateKeyFile }}" | ||
owner: "root" | ||
group: "{{ ldaptoolbox_openldap_sslgroup }}" | ||
mode: "640" | ||
when: ( ldaptoolbox_openldap_olcTLSCertificateKeyFile ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters