Skip to content
  1. May 05, 2021
    • 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
  2. 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
  3. May 03, 2021
  4. Apr 08, 2021
  5. Apr 07, 2021
  6. 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
  7. Feb 22, 2021
    • Varun Mylaraiah's avatar
      Merge pull request #511 from t-woerner/ipaclient_otp_rmkeytab_error#7 · 3c666ccd
      Varun Mylaraiah authored
      ipaclient: Do not fail on rmkeytab error #7
      v0.3.5
      3c666ccd
    • Thomas Woerner's avatar
      ipaclient: Do not fail on rmkeytab error #7 · 976cd1ba
      Thomas Woerner authored
      Due to commit f3f9672d527008dc741ac90aa465bac842eea08d (ipa-rmkeytab: Check
      return value of krb5_kt_(start|end)_seq_get) in IPA 4.9.2 there is a new
      error reported for ipa-rmkeytab in case of a non existing keytab file.
      Using ipa-rmkeytab now results in the error #7 in this case.
      
      The client role is using ipa-rmkeytab and needs to ignore error #7 also.
      
      Fixes: #510 (ipa-client installation with OTP is failed with error code 7
                   (keytab: /usr/sbin/ipa-rmkeytab returned 7))
      976cd1ba
  8. Feb 04, 2021
  9. Feb 02, 2021
  10. Jan 27, 2021
  11. Jan 26, 2021
  12. Jan 18, 2021
  13. Jan 12, 2021
  14. Jan 11, 2021
Loading