Skip to content

Commit 8002fb5

Browse files
gregharveyEmlynK
andauthored
Ldap server pr devel (#528)
* Need to check if is_local is defined in webserver meta dependencies. (#522) * Ce dev refactor pr 1.x (#518) * Making it easier to test with provision-target and ce-dev. * Moving the provision forcing var back to plays so _init has it. * Adding defaults vars and test script extra options. * Adding a web server test to CI. * examples string needs to be in quotes. * Making sure is_local and _ce_provision_force_play are available to the _init role. * Adding SSH keys to the provision user. * Adding a --force to the test script. * Explicitly adding vars to role. * Fixing _init behaviour and adding SSH key for web role. * Setting default PHP version to 7.4. * Looking up the generated ce-dev SSH key instead of hard-coding one. * We cannot run the ssh_server role locally, so excluding for tests of webserver role. * Trying to remove user_root.yml in case it's breaking CI. * Adding a verbose mode to the test script. * Exposing the command in the test script. * Trying hard-coded keys again. * Changing location of data dir for test containers. * Putting vars back and restricting CI to the 'web' example. * Adding backup handling to ldap_server. * Improving SSL docs and handling perms for openldap and letsencrypt. * Cron user must be specified with file. * Running as root, do not need a 'sudo' in this cron. Co-authored-by: EmlynK <emlyn.kinzett@codeenigma.com>
1 parent 85270d6 commit 8002fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/ldap_server/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
name: "ldap backup"
175175
minute: "{{ ldap_server.config.backup_minute }}"
176176
hour: "{{ ldap_server.config.backup_hour }}"
177-
job: "/usr/local/bin/slap-bak && find /opt/slap-bak/ -type f -mtime +60 -print0 | xargs -0 -r sudo rm"
177+
job: "/usr/local/bin/slap-bak && find /opt/slap-bak/ -type f -mtime +60 -print0 | xargs -0 -r rm"
178178
cron_file: slapd-backup
179179
user: root
180180
when: ldap_server.config.backup

0 commit comments

Comments
 (0)