set update interval
This commit is contained in:
parent
11d1a026aa
commit
bb994f6326
1 changed files with 4 additions and 0 deletions
|
|
@ -89,6 +89,10 @@ def run_module():
|
|||
rc, stdout, stderr = module.run_command(['/usr/bin/php', 'occ', 'ldap:set-config', module.params['config']['config_id'], 'ldapConfigurationActive',
|
||||
'1'], check_rc=True, cwd=module.params['nextcloud_path'])
|
||||
|
||||
# set update interval, seems necessary to activate sync.
|
||||
rc, stdout, stderr = module.run_command(['/usr/bin/php', 'occ', 'config:app:set', 'user_ldap' 'updateAttributesInterval' '--value=86400'],
|
||||
check_rc=True, cwd=module.params['nextcloud_path'])
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue