Skip to content
  1. Dec 14, 2019
  2. Dec 13, 2019
  3. Dec 12, 2019
  4. Dec 11, 2019
    • Rafael Guterres Jeffman's avatar
      Allow execution of API commands that do not require a name. · 0210899e
      Rafael Guterres Jeffman authored
      There are some commands in the IPA API that do not require
      arguments, and current implementation does not allow these
      commands to be execute.
      
      This patch adds api_command_no_name to allow the execution
      of such commands, which is required, for example, to create
      a vaultcontainer management module.
      0210899e
    • Thomas Woerner's avatar
      ipaserver_test: Do not use zone_overlap_check for domain name validation · 9c853894
      Thomas Woerner authored
      The use of zone_overlay_check for the domain name validation is not good
      for a repeated execution of the server deployment where setup_dns is
      enabled. The zone overlay check will fail with "DNS zone X already exists
      in DNS". zone_overlay_check is later on used in dns.install_check so it is
      not needed to do it here also.
      
      Fixes issues #164 (domain option validator should not call zone overlap..)
      9c853894
  5. Dec 09, 2019
  6. Dec 06, 2019
  7. Dec 02, 2019
    • Rafael Guterres Jeffman's avatar
      Merge pull request #155 from t-woerner/ipahost-extension · 1dd2b54e
      Rafael Guterres Jeffman authored
      ipahost: Extension to be able handle several hosts and all settings
      v0.1.7
      1dd2b54e
    • Thomas Woerner's avatar
      Merge pull request #157 from t-woerner/centos8 · a62e355f
      Thomas Woerner authored
      ipa[server,replica,client]: Add support for CentOS-8
      a62e355f
    • Thomas Woerner's avatar
      Merge pull request #156 from t-woerner/env_krb5ccname · fbe28804
      Thomas Woerner authored
      ansible_freeipa_module: Better support for KRB5CCNAME environment variable
      fbe28804
    • Thomas Woerner's avatar
      ipahost: Extension to be able handle several hosts and all settings · 94b1f25b
      Thomas Woerner authored
      The ipahost management module was not able to add several hosts at once.
      Addtionally there have been settings missing.
      
      ansible_freeipa_module has been extended to provide two additional functions
      that are needed to simplify the extension of the ipahost module:
      
          gen_add_del_lists(user_list, res_list)
          encode_certificate(cert)
      
      gen_add_del_lists will generate the lists for the addition and removal of
      members using the provided user and ipa settings.
      
      encode_certificate will encode a certificate using base64 with also taking
      FreeIPA and Python versions into account.
      
      The missing settings in ipahost have been:
      
          certificate
          managedby_host
          principal
          create_keytab_[user,group,host,hostgroup]
          retrieve_keytab_[user,group,host,hostgroup]
          sshpubkey
          userclass
          auth_ind
          requires_pre_auth
          ok_as_delegate
          ok_to_auth_as_delegate
      
      The README-host.md file has been updated to provide information about the
      new settings and also the members. Also examples for the new things have
      been added.
      
      New example playbooks have been added:
      
          playbooks/host/add-host.yml
          playbooks/host/host-member-allow_create_keytab-absent.yml
          playbooks/host/host-member-allow_create_keytab-present.yml
          playbooks/host/host-member-allow_retrieve_keytab-absent.yml
          playbooks/host/host-member-allow_retrieve_keytab-present.yml
          playbooks/host/host-member-certificate-absent.yml
          playbooks/host/host-member-certificate-present.yml
          playbooks/host/host-member-managedby_host-absent.yml
          playbooks/host/host-member-managedby_host-present.yml
          playbooks/host/host-member-principal-absent.yml
          playbooks/host/host-member-principal-present.yml
          playbooks/host/host-present-with-allow_create_keytab.yml
          playbooks/host/host-present-with-allow_retrieve_keytab.yml
          playbooks/host/host-present-with-certificate.yml
          playbooks/host/host-present-with-managedby_host.yml
          playbooks/host/host-present-with-principal.yml
          playbooks/host/host-present-with-randompassword.yml
          playbooks/host/host-present.yml
          playbooks/host/hosts-member-certificate-absent.yml
          playbooks/host/hosts-member-certificate-present.yml
          playbooks/host/hosts-member-managedby_host-absent.yml
          playbooks/host/hosts-member-managedby_host-present.yml
          playbooks/host/hosts-member-principal-absent.yml
          playbooks/host/hosts-member-principal-present.yml
          playbooks/host/hosts-present-with-certificate.yml
          playbooks/host/hosts-present-with-managedby_host.yml
          playbooks/host/hosts-present-with-randompasswords.yml
      
      New tests have been added for the module:
      
          tests/host/certificate/cert1.der
          tests/host/certificate/cert1.pem
          tests/host/certificate/cert2.der
          tests/host/certificate/cert2.pem
          tests/host/certificate/cert3.der
          tests/host/certificate/cert3.pem
          tests/host/certificate/private1.key
          tests/host/certificate/private2.key
          tests/host/certificate/private3.key
          tests/host/certificate/test_host_certificate.yml
          tests/host/certificate/test_hosts_certificate.yml
          tests/host/test_host.yml
          tests/host/test_host_allow_create_keytab.yml
          tests/host/test_host_allow_retrieve_keytab.yml
          tests/host/test_host_managedby_host.yml
          tests/host/test_host_principal.yml
          tests/host/test_host_random.yml
          tests/host/test_hosts.yml
          tests/host/test_hosts_managedby_host.yml
          tests/host/test_hosts_principal.yml
      94b1f25b
    • Thomas Woerner's avatar
      ipa[server,replica,client]: Add support for CentOS-8 · 5d7f2788
      Thomas Woerner authored
      The files for RHEL-8 (RedHat-8.yml) have simply been linked to CentOS-8.yml
      for the ipaserver, ipareplica and ipaclient roles.
      
      Fixes issue #121 (roles/*/vars needs CentOS-8.yml files)
      5d7f2788
    • Thomas Woerner's avatar
      ansible_freeipa_module: Better support for KRB5CCNAME environment variable · e77f4daa
      Thomas Woerner authored
      The use of gssapi.creds.Credentials is not good if krb5 ticket forwarding
      is used. It will fail. gssapi.Credentials with usage and store is the proper
      way to do this.
      e77f4daa
  8. Nov 29, 2019
  9. Nov 21, 2019
  10. Nov 20, 2019
    • Thomas Woerner's avatar
      ipahost: Return generated random password · c36cb954
      Thomas Woerner authored
      The random password is only returned if random is yes and the host did
      not exist or update_password is yes.
      
      If only one host is handled by the module, the returned dict is containing
      this dict:
      
        { "randompassword": "<the host random password>" }
      
      If several hosts are handled by the module (future feature):
      
        { "<host>": { "randompassword": "<the host random password>" } }
      
      Fixes issue #134 (ipahost does not return the random password)
      c36cb954
    • Thomas Woerner's avatar
      ipauser: Return generated random password · b5f20922
      Thomas Woerner authored
      The random password is only returned if random is yes and user did not exist
      or update_password is yes.
      
      If only one user is handled by the module, the returned dict is containing
      this dict:
      
        { "randompassword": "<the user random password>" }
      
      If several users are handled by the module:
      
        { "<user>": { "randompassword": "<the user random password>" } }
      
      This is related to issue #134 (ipahost does not return the random password)
      b5f20922
    • Thomas Woerner's avatar
      ipaclient: Fix misspelled sssd options · 6ad82e6b
      Thomas Woerner authored
      The sssd options in the ipaclient role missed a 's' in the role. The readme
      of the role used the proper names with 3 's'. The names in the role have
      been fixed and if the old setting are used, they will be used in the first
      place.
      
      Also utils/ansible-ipa-client-install has been adaped to use the proper
      option names now.
      
      This fixes issue #145 (The ipaclient role misspells sssd)
      6ad82e6b
  11. Nov 19, 2019
  12. Nov 15, 2019
  13. Nov 12, 2019
  14. Nov 09, 2019
  15. Nov 08, 2019
  16. Nov 07, 2019
    • Rafael Guterres Jeffman's avatar
      Merge pull request #142 from t-woerner/ipahostgroup_tests · b06ef3fc
      Rafael Guterres Jeffman authored
      ipahostgroup: Fix changed flag, support IPA 4.6 on RHEL-7, new test cases
      b06ef3fc
    • Thomas Woerner's avatar
      Merge pull request #141 from rjeffman/sudorule · dba8c204
      Thomas Woerner authored
      New sudorule (Sudo Rule) management module
      dba8c204
    • Rafael Guterres Jeffman's avatar
      New sudorule (Sudo Rule) management module · 2f621608
      Rafael Guterres Jeffman authored
      There is a new sudorule (Sudo Rule) management module placed in the plugins
      folder:
      
        plugins/modules/ipasudorule.py
      
      The sudorule module allows to ensure presence and absence of Sudo Rules.
      
      Here is the documentation for the module:
      
        README-sudorule.md
      
      New example playbooks have been added:
      
          playbooks/sudorule/ensure-sudorule-host-member-is-absent.yml
          playbooks/sudorule/ensure-sudorule-host-member-is-present.yml
          playbooks/sudorule/ensure-sudorule-hostgroup-member-is-absent.yml
          playbooks/sudorule/ensure-sudorule-hostgroup-member-is-present.yml
          playbooks/sudorule/ensure-sudorule-is-absent.yml
          playbooks/sudorule/ensure-sudorule-is-disabled.yml
          playbooks/sudorule/ensure-sudorule-is-enabled.yml
          playbooks/sudorule/ensure-sudorule-is-present.yml
          playbooks/sudorule/ensure-sudorule-sudocmd-is-absent.yml
          playbooks/sudorule/ensure-sudorule-sudocmd-is-present.yml
      
      New tests added for the module:
      
        tests/hbacrule/test_sudorule.yml
      2f621608
    • Thomas Woerner's avatar
      Merge pull request #102 from Uumas/preotp · 209e4715
      Thomas Woerner authored
      Added support for predefining client OTP using ipaclient_otp
      209e4715