Skip to content
  1. May 25, 2021
  2. May 21, 2021
  3. May 20, 2021
  4. May 19, 2021
  5. May 18, 2021
    • Rafael Guterres Jeffman's avatar
      Merge pull request #542 from t-woerner/ansible_doc_test__pre_commit_repo_fix · fd1ec5a7
      Rafael Guterres Jeffman authored
      ansible_doc_test pre commit: Set ANSIBLE_LIBRARY to test current repo
      fd1ec5a7
    • Thomas Woerner's avatar
      New server management module · 16795b8b
      Thomas Woerner authored
      There is a new server management module placed in the plugins folder:
      
          plugins/modules/ipaserver.py
      
      The server module allows to ensure presence and absence of servers. The
      module requires an existing server, the deployment of a new server can
      not be done with the module.
      
      DNSName has been added to ansible_freeipa_module in plugins/module_utils
      as this is used for locations.
      
      Here is the documentation for the module:
      
          README-server.md
      
      New example playbooks have been added:
      
          playbooks/server/server-absent-continue.yml
          playbooks/server/server-absent-force.yml
          playbooks/server/server-absent-ignore_last_of_role.yml
          playbooks/server/server-absent-ignore_topology_disconnect.yml
          playbooks/server/server-absent.yml
          playbooks/server/server-hidden.yml
          playbooks/server/server-location.yml
          playbooks/server/server-no-location.yml
          playbooks/server/server-no-service-weight.yml
          playbooks/server/server-not-hidden.yml
          playbooks/server/server-present.yml
          playbooks/server/server-service-weight.yml
      
      New tests for the module:
      
          tests/server/test_server.yml
      
      Change in module_utils/ansible_freeipa_module:
      
          DNSName is imported from ipapython.dnsutil and also added to __all__
      16795b8b
    • Thomas Woerner's avatar
      ansible_doc_test pre commit: Set ANSIBLE_LIBRARY to test current repo · 1cf089e8
      Thomas Woerner authored
      It is needed to set ANSIBLE_LIBRARY to make sure that the current repo is
      tested.
      1cf089e8
  6. May 12, 2021
  7. May 11, 2021
  8. May 06, 2021
  9. May 05, 2021
    • Rafael Guterres Jeffman's avatar
      Fix creation of privilege with permissions. · f4a8cf4e
      Rafael Guterres Jeffman authored
      Module was raising exceptions when trying to create a new privilege
      with permissions. This change fixes the behavior and ensuure
      idempotence with trying to create a privilege with the same values.
      
      Tests for this behavior have been appended to:
      
          tests/privilege/test_privilege.yml
      f4a8cf4e
    • Rafael Guterres Jeffman's avatar
      Fix compare_args_ipa when passing None as parameter. · c17e9fe2
      Rafael Guterres Jeffman authored
      There were no test for the arguments of compare_args_ipa() to check
      if they were `None`, and they were used in contexts where `None`
      would raise exceptions.
      
      A test was added to return `False` if only one of the parameters is
      `None`, and `True` if both are None.
      c17e9fe2
  10. May 04, 2021
    • Thomas Woerner's avatar
      Merge pull request #520 from rjeffman/fix_ansible_locale_over_ssh · eb5463d9
      Thomas Woerner authored
      Force plugins to execute using LANGUAGE='C'.
      eb5463d9
    • Rafael Guterres Jeffman's avatar
      Force plugins to execute using LANGUAGE='C'. · 09942c3d
      Rafael Guterres Jeffman authored
      IPA translates exception messages and Ansible uses controller's
      language to execute plugins on target hosts, and since ansible-freeipa
      uses Exceptions messages to detect some errors and/or states, using any
      language that has a translation for the required messages may cause the
      plugin to misbehave.
      
      This patch modifies ansible_freeipa_module in plugin/module_utils to
      force the use of "C" as the language by setting the environment variable
      LANGUAGE.
      
      Tests were added to verify the correct behavior:
      
          tests/environment/test_locale.yml
      
      The first test will fail, if ansible_freeipa_module is not patched, with
      the message:
      
         host_show failed: nonexistent: host nicht gefunden
      
      This issue is not present if the language selected does not provide
      a translation for the eror message.
      
      This patch does not fix encoding issues that might occur in certain
      releases (e.g.: CentOS 8.3).
      
      Fix #516
      09942c3d
  11. May 03, 2021
  12. Apr 08, 2021
  13. Apr 07, 2021
  14. Mar 19, 2021
    • Grzegorz Grasza's avatar
      Use ansible_facts variable · 7a235310
      Grzegorz Grasza authored
      Without this change the "Import variables specific to distribution"
      tasks fail with "Could not find file on the Ansible Controller..."
      on environments with inject facts disabled.
      
      This changes the tests to run with ansible with
      inject_facts_as_vars = false and fixes other roles and playbooks.
      7a235310
  15. Feb 22, 2021
Loading