mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 13:32:10 +00:00
ipaserver_setup_ds: Fix tasks.create_tmpfiles_dirs call (issue#19) (2nd try)
tasks.create_tmpfiles_dirs only needs IPAAPI_USER as an argument for version 4.5.4. For 4.5 there is no support for arguments. IPAAPI_USER is therefore only needed for 4.5.4 in module_utils/ansible_ipa_server.py
This commit is contained in:
@@ -124,8 +124,10 @@ def main():
|
||||
|
||||
# setup DS ##############################################################
|
||||
|
||||
if NUM_VERSION < 40600:
|
||||
# Make sure tmpfiles dir exist before installing components
|
||||
# Make sure tmpfiles dir exist before installing components
|
||||
if NUM_VERSION == 40504:
|
||||
tasks.create_tmpfiles_dirs(IPAAPI_USER)
|
||||
elif NUM_VERSION >= 40500 and NUM_VERSION <= 40503:
|
||||
tasks.create_tmpfiles_dirs()
|
||||
|
||||
# Create a directory server instance
|
||||
|
||||
Reference in New Issue
Block a user