mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 21:42:17 +00:00
Make ipaserver role working with ipa 4.5(.4)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
@@ -124,6 +124,10 @@ def main():
|
||||
|
||||
# setup DS ##############################################################
|
||||
|
||||
if NUM_VERSION < 40600:
|
||||
# Make sure tmpfiles dir exist before installing components
|
||||
tasks.create_tmpfiles_dirs(IPAAPI_USER)
|
||||
|
||||
# Create a directory server instance
|
||||
if not options.external_cert_files:
|
||||
ds = dsinstance.DsInstance(fstore=fstore,
|
||||
|
||||
Reference in New Issue
Block a user