Skip to content
  1. Oct 07, 2019
  2. Oct 02, 2019
  3. Oct 01, 2019
    • Thomas Woerner's avatar
      ipagroup: Rework to use same mechanisms as ipahostgroup module · c5e0b1b4
      Thomas Woerner authored
      The ipagroup module was not using the failed and completed items in the dict
      that is returned with api_command. But it was creating add and remove
      lists for users, groups and services. This is not needed if the failures
      "already a member" and "not a member" in the result failures are ignored.
      Only other failures are reported.
      c5e0b1b4
  4. Sep 27, 2019
    • Varun Mylaraiah's avatar
      Merge pull request #122 from t-woerner/external-ca-tests · 00066d2c
      Varun Mylaraiah authored
      tests/external-signed-ca tests: Fix external-ca.sh to use proper serials
      00066d2c
    • Thomas Woerner's avatar
      tests/external-signed-ca tests: Fix external-ca.sh to use proper serials · 2a197cc7
      Thomas Woerner authored
      The serial numbers have not been set for the creation of the CA and also
      to sign the request. Because of this the local time has been used, which
      resulted sometimes in the use of the same time stamp for the CA and the
      signing reuqest. The import failed then with same issuer and serial number
      error.
      
      The cat to generate the chain.crt has been replaces with openssl x509 calls.
      
      Some comments have also been added.
      
      The script in external-signed-ca-with-manual-copy has been replaced with a
      link to the external-signed-ca-with-automatic-copy directory.
      2a197cc7
  5. Sep 26, 2019
  6. Sep 25, 2019
  7. Sep 24, 2019
  8. Sep 23, 2019
    • Thomas Woerner's avatar
      New hostgroup management module · 2abebc68
      Thomas Woerner authored
      There is a new hostgroup management module placed in the plugins folder:
      
        plugins/modules/ipahostgroup.py
      
      The hostgroup module allows to add, remove and disable hosts.
      
      The hostgroup module is as compatible as possible to the Ansible upstream
      ipa_hostgroup module, but addtionally offers to ensure member presence and
      absence.
      
      Here is the documentation for the module:
      
        README-hostgroup.md
      
      New example playbooks have been added:
      
        playbooks/hostgroup/ensure-hostgroup-is-absent.yml
        playbooks/hostgroup/ensure-hostgroup-is-present.yml
        playbooks/hostgroup/ensure-hosts-and-hostgroups-are-absent-in-hostgroup.yml
        playbooks/hostgroup/ensure-hosts-and-hostgroups-are-present-in-hostgroup.yml
      2abebc68
    • Thomas Woerner's avatar
      New hostgroup management module · 74ea40f6
      Thomas Woerner authored
      There is a new hostgroup management module placed in the plugins folder:
      
        plugins/modules/ipahostgroup.py
      
      The hostgroup module allows to add, remove and disable hosts.
      
      The hostgroup module is as compatible as possible to the Ansible upstream
      ipa_hostgroup module, but addtionally offers to ensure member presence and
      absence.
      
      Here is the documentation for the module:
      
        README-hostgroup.md
      
      New example playbooks have been added:
      
        playbooks/hostgroup/ensure-hostgroup-is-absent.yml
        playbooks/hostgroup/ensure-hostgroup-is-present.yml
        playbooks/hostgroup/ensure-hosts-and-hostgroups-are-absent-in-hostgroup.yml
        playbooks/hostgroup/ensure-hosts-and-hostgroups-are-present-in-hostgroup.yml
      74ea40f6
  9. Sep 10, 2019
    • Thomas Woerner's avatar
      Update README files for proper description of states · 8a56962c
      Thomas Woerner authored
      With Ansible there is no add or remove user, there is only ensure presence
      or absence of users. The descriptions have been adapted to make sure that
      the description is correct now.
      8a56962c
    • Thomas Woerner's avatar
      New host management module · 4fc722f7
      Thomas Woerner authored
      There is a new user management module placed in the plugins folder:
      
        plugins/modules/ipauser.py
      
      The host module allows to add, remove and disable hosts.
      
      The host module is as compatible as possible to the Ansible upstream
      ipa_host` module, but addtionally offers to disable hosts.
      
      Here is the documentation for the module:
      
        README-host.md
      
      New example playbooks have been added:
      
        playbooks/host/add-host.yml
        playbooks/host/delete-host.yml
        playbooks/host/disable-host.yml
      4fc722f7
  10. Sep 04, 2019
  11. Aug 15, 2019
  12. Aug 12, 2019
    • Thomas Woerner's avatar
      ansible_freeipa_module: Add support for GSSAPI · 09ab29b4
      Thomas Woerner authored
      The GSSAPI can be enabled in the management modules with either the
      KRB5CCNAME or the KRB5_CLIENT_KTNAME environment variable.
      
      For KRB5CCNAME it is needed to create a ccache file
      
        kinit admin@TEST.LOCAL -c /root/admin.ccache
      
      that is transferred to the nodes (here into /root) and activated in the
      playbook with
      
        environment:
          KRB5CCNAME: /root/admin.ccache
      
      For KRB5_CLIENT_KTNAME a admin keytab has to be generated
      
        ipa-getkeytab -s ipaserver.test.local -p admin@TEST.LOCAL -k \
        /root/admin.keytab
      
      that is transferred to the nodes (here into /root) and activated in the
      playbook with
      
        environment:
          KRB5_CLIENT_KTNAME: /root/admin.keytab
      
      It will be needed to set ipaadmin_principal if the admin principal is not
      admin.
      
      The management modules can be used without a password in this case.
      09ab29b4
    • Thomas Woerner's avatar
      ansible_freeipa_module: Add ansible module argument to valid_creds function · c69d0bc5
      Thomas Woerner authored
      For debug and error reporting it is needed to have the ansible module also
      in the valid_creds function.
      c69d0bc5
    • Thomas Woerner's avatar
  13. Aug 06, 2019
  14. Jul 30, 2019
  15. Jul 29, 2019
  16. Jul 26, 2019
  17. Jul 24, 2019
  18. Jul 23, 2019