mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-03-17 19:00
This commit is contained in:
@@ -6,5 +6,5 @@ Type=oneshot
|
||||
PrivateTmp=yes
|
||||
User={{ ldap2pg_user }}
|
||||
Group={{ ldap2pg_user }}
|
||||
ExecStart=/bin/ldap2pg -c /etc/ldap2pg.yml --real
|
||||
ExecStart=/bin/ldap2pg -c /etc/ldap2pg.yml --{{ ldap2pg_dry_mode | ternary('dry', 'real') }}
|
||||
TimeoutSec=30m
|
||||
|
@@ -2,7 +2,8 @@
|
||||
Description=Sync postgres role from LDAP
|
||||
|
||||
[Timer]
|
||||
OnCalendar={{ (ldap2pg_sync_freq == 'never') | ternary('daily', ldap2pg_sync_freq) }}
|
||||
OnCalendar={{ ldap2pg_sync_freq }}
|
||||
RandomizedDelaySec=5m
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
Reference in New Issue
Block a user