Make ipaserver role working with ipa 4.5(.4)

This commit is contained in:
Thomas Woerner
2018-01-28 11:46:31 +01:00
parent c5462d4aac
commit 3edc1bedca
3 changed files with 15 additions and 3 deletions

View File

@@ -87,6 +87,10 @@ def main():
fstore = sysrestore.FileStore(paths.SYSRESTORE)
sstore = sysrestore.StateFile(paths.SYSRESTORE)
if NUM_VERSION < 40600:
# Make sure the files we crated in /var/run are recreated at startup
tasks.configure_tmpfiles()
with redirect_stdout(ansible_log):
services.knownservices.ipa.enable()