Skip to content
  1. Sep 24, 2021
  2. Sep 20, 2021
    • Rafael Guterres Jeffman's avatar
      ipaserver: Allow configuration of test server name. · 076835e0
      Rafael Guterres Jeffman authored
      As the server name was hard coded, when running tests for ipasever
      module using a server not name as 'ipaserver', the tests would fail.
      
      This patch allows the configuration of the server name using the
      variable 'ipa_server_name', and if not provided, try to infer the name
      from the ansible_hostname variable, or, if not possible, defaults to
      'ipaserver'.
      
      The same behavior is applied to 'ipasever_domain', with the default
      being 'ipa.test'.
      076835e0
  3. Sep 16, 2021
  4. Sep 15, 2021
  5. Sep 14, 2021
  6. Sep 13, 2021
  7. Sep 09, 2021
  8. Sep 08, 2021
  9. Sep 07, 2021
    • Thomas Woerner's avatar
      hbacrule: Use execute_ipa_commands · 928deb21
      Thomas Woerner authored
      execute_ipa_commands replces the check mode exit, the loop over the
      generated commands and also in the member failure handling for modules
      with member support.
      928deb21
    • Thomas Woerner's avatar
      group: Use execute_ipa_commands · 19073730
      Thomas Woerner authored
      execute_ipa_commands replces the check mode exit, the loop over the
      generated commands and also in the member failure handling for modules
      with member support.
      19073730
    • Thomas Woerner's avatar
      delegation: Use execute_ipa_commands · 95ffd2c5
      Thomas Woerner authored
      execute_ipa_commands replces the check mode exit, the loop over the
      generated commands and also in the member failure handling for modules
      with member support.
      95ffd2c5
    • Thomas Woerner's avatar
      automember: Use execute_ipa_commands · e6f0eb23
      Thomas Woerner authored
      execute_ipa_commands replces the check mode exit, the loop over the
      generated commands and also in the member failure handling for modules
      with member support.
      e6f0eb23
    • Thomas Woerner's avatar
      IPAAnsibleModule: New staticethod member_error_handler · 917b3b62
      Thomas Woerner authored
      The staticmethod member_error_handler is handing the default member
      related failures that can occur for modules with member support.
      This can simply be enabled with fail_on_member_errors=True for
      execute_ipa_commands.
      
      An exception handler is also now usable with execute_ipa_commands. In
      addition to the the exception it is also getting the same user defined
      arguments that the result_handler is getting.
      
      handle_result has been renamed in result_handler and handle_result_user_args
      has been renamed to handlers_user_args.
      
      Additionally the errors list does not need to be defined in the module.
      The method execute_ipa_commands is doing this internally and is also
      adding error: error to handlers_user_args if the handler is having errors
      in the argspec and errors is not yet set in handlers_user_args.
      
      Tests have been added to make sure that no user args for the handler
      have been set without an own result or exception handler. Also the use of
      fail_on_member_errors together with a result_andler is leading to an
      error.
      917b3b62