Skip to content
Snippets Groups Projects
  1. May 22, 2024
    • Thomas Woerner's avatar
      ipauser: Enable batch command use with keeponly · 65a1fd78
      Thomas Woerner authored
      The use of the batch command is enabled for execute_ipa_commands.
      
      Additionally keeponly is set to ["randompassword"] as this is the only
      parameter that is used from the data returned from the commands.
      65a1fd78
    • Thomas Woerner's avatar
      IPAAnsibleModule: Add support for batch command in execute_ipa_commands · bcb6a682
      Thomas Woerner authored
      The method execute_ipa_commands has been extended to handle multi
      commands with the batch command.
      
      New constants for execute_ipa_commands debugging:
      
          DEBUG_COMMAND_ALL = 0b1111
          DEBUG_COMMAND_LIST = 0b0001
              Print the while command list
          DEBUG_COMMAND_COUNT = 0b0010
              Print the command number
          DEBUG_COMMAND_BATCH = 0b0100
              Print information about the batch slice size and currently executed
              batch slice
      
      New parameters have been added to execute_ipa_commands:
      
          batch: bool
              Enable batch command use to speed up processing
          batch_slice_size: integer
              Maximum mumber of commands processed in a slice with the batch
              command
          keeponly: list of string
              The attributes to keep in the results returned.
              Default: None (Keep all)
          debug: integer
              Enable debug output for the exection using DEBUG_COMMAND_*
      
      Batch mode can be enabled within the module with setting batch to True
      for execute_ipa_commands.
      
      Fixes: #1128 (batch command support)
      bcb6a682
  2. May 21, 2024
  3. May 16, 2024
  4. May 14, 2024
  5. May 13, 2024
  6. Mar 28, 2024
  7. Mar 27, 2024
  8. Mar 26, 2024
  9. Mar 21, 2024
  10. Mar 20, 2024
    • Thomas Woerner's avatar
      utils/build-galaxy-release.sh: Enable offline generation for rpm · fe16df8a
      Thomas Woerner authored
      Two new options have been added to enable the offline build within rpm:
      
          -o <A.B.C>  Build offline without using git, using version A.B.C
                      Also enables -a
          -p <path>   Installation the generated collection in the path, the
                      ansible_collections sub directory will be created and will
                      contain the collection: ansible_collections/<namespace>/<name>
                      Also enables -i
      
      The usage text has been fixed also for specifying namespace and name.
      The collection variable has been renamed to name.
      
      Example usage:
      
          utils/build-galaxy-release.sh -o 1.12.1 \
              -p %{buildroot}%{_datadir}/ansible/collections \
              freeipa ansible_freeipa
      fe16df8a
  11. Mar 14, 2024
  12. Mar 13, 2024
    • Thomas Woerner's avatar
      ipaserver_prepare: Properly create IPA_DEFAULT_CONF · 8fa3daec
      Thomas Woerner authored
      Use IPAChangeConf and realm_to_ldapi_uri to create IPA_DEFAULT_CONF.
      
      With realm_to_ldapi_uri the ldap_uri is correctly using /run instead of
      /var/run.
      
      Before IPA_DEFAULT_CONF was created using file operations.
      8fa3daec
    • Thomas Woerner's avatar
      ipaserver: Run custodia setup only once · 0cad1fa8
      Thomas Woerner authored
      The custodia setup is executed twice. At first in
      ipaserver_setup_custodia and then additionally in ipaserver_setup_ca.
      
      The custodia setup code in ipaserver_setup_ca.py has been adapted to fit
      the code in ipaserver_setup_custodia.py.
      
      The extra Setup custodia step in the server roles has been removed
      together with ipaserver_setup_custodia.py.
      0cad1fa8
  13. Mar 11, 2024
  14. Mar 05, 2024
    • Thomas Woerner's avatar
      Fix ca-less test to use X.509 v3 certificates · b92da826
      Thomas Woerner authored
      The generated certificates have been X.509 v1. This is not supported any
      more. Only X.509 v3 is supported.
      
      A new certificates/extensions.conf file has been added to make v3
      certificates.
      
      The existing certificates/pkinit/extensions.conf has been renamed to
      certificates/pkinit-extensions.conf with additional changes. For example
      "[kdc_cert]" had to be removed for v3.
      
      The extensions config files are using environment variables, which are
      set by the generate-certificates.sh script before calling openssl.
      
      The script generate-certificates.sh has been reworked for a simpler
      structure, also new options have been added: "ca" and "cleanup".
      b92da826
  15. Feb 27, 2024
  16. Feb 15, 2024
  17. Feb 12, 2024
Loading