Skip to content
  1. Oct 18, 2019
  2. Oct 09, 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 24, 2019
    • Thomas Woerner's avatar
      ipagroup: Remove unused member_[present,absent] states · e814b1fa
      Thomas Woerner authored
      The states member_present and member_absent are not used and should also not
      be used. This is a remain of the first try to ensure absence and presence
      of users (members) in the group. This has been replaced with the setting
      action: member.
      e814b1fa
  5. 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
  6. Sep 10, 2019
    • 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
  7. 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
  8. Jul 26, 2019
  9. Jul 11, 2019
  10. Jul 09, 2019
    • Thomas Woerner's avatar
      New group management module · 2afb8c6a
      Thomas Woerner authored
      There is a new group management module placed in the plugins folder:
      
        plugins/modules/ipagroup.py
      
      The group module allows to add, remove, enable, disable, unlock und undelete
      groups.
      
      The group module is as compatible as possible to the Ansible upstream
      `ipa_group` module, but addtionally offers to add users to a group and also
      to remove users from a group.
      
      Here is the documentation for the module:
      
        README-group.md
      
      New example playbooks have been added:
      
        playbooks/user/add-groups-to-group.yml
        playbooks/user/add-user-to-group.yml
        playbooks/user/add-group.yml
        playbooks/user/delete-group.yml
      2afb8c6a
    • Thomas Woerner's avatar
      New user management module · a36e8e08
      Thomas Woerner authored
      There is a new user management module placed in the plugins folder:
      
        plugins/modules/ipauser.py
      
      The user module allows to add, remove, enable, disable, unlock und undelete
      users.
      
      The user module is as compatible as possible to the Ansible upstream
      `ipa_user` module, but addtionally offers to preserve delete, enable,
      disable, unlock and undelete users.
      
      Here is the documentation for the module:
      
        README-user.md
      
      New example playbooks have been added:
      
        playbooks/user/add-user.yml
        playbooks/user/delete-user.yml
        playbooks/user/enable-user.yml
        playbooks/user/disable-user.yml
        playbooks/user/delete-preserve--user.yml
        playbooks/user/undelete-user.yml
      a36e8e08
    • Thomas Woerner's avatar
      ansible_freeipa_module: New functions date_format and compare_args_ipa · 1cb0ac67
      Thomas Woerner authored
      date_format parses the supported date formats and creates a datetime object.
      
      compare_args_ipa compares generated args with args returned by IPA command
      find_ functions.
      1cb0ac67
  11. Jul 01, 2019
  12. Jun 17, 2019
    • Thomas Woerner's avatar
      ipatopologysegment: Use commands, not command · 158fdb18
      Thomas Woerner authored
      command has been used instead of commands. command is not defined.
      v0.1.4
      158fdb18
    • Thomas Woerner's avatar
      ipatopologysegment: Allow domain+ca suffix, new state: checked · 56a8aced
      Thomas Woerner authored
      It is now possible to use domain+ca as suffix, That means that the segment
      will be handled for the suffixes domain and also ca.
      
      The new state checked is returning two lists found and not-found. If a
      segment exists, the ckecked suffix is added to the found list. If a segment
      from suffix is not found, it is added to the not-found list.
      
      New example playbooks have been added:
         playbooks/topology/add-topologysegments.yml
         playbooks/topology/check-topologysegments.yml
         playbooks/topology/delete-topologysegments.yml
      
      The cluster playbook has been extended by the
      56a8aced
  13. Jun 05, 2019
    • Thomas Woerner's avatar
      New topology managament modules · 62fd4cc1
      Thomas Woerner authored
      There are now two topology management modules placed in the plugins folder:
      
        plugins/modules/ipatopologysegment.py
        plugins/modules/ipatopologysuffix.py
      
      Topology segments can be added, removed and reinitialized with the
      ipatopologysegment module. Also it is possible to verify topology suffixes
      with the ipatopologysuffix module.
      
      A new module_utils for plugins has been added:
      
        plugins/module_utils/ansible_freeipa_module.py
      
      And documentation for the modules:
      
        README-topology.md
      
      New sample playbooks are available in playbooks/topology:
      
        playbooks/topology/add-topologysegment.yml
        playbooks/topology/delete-topologysegment.yml
        playbooks/topology/reinitialize-topologysegment.yml
        playbooks/topology/verify-topologysuffix.yml
      
      The plugins folder can be used with the new Ansible Collections supported
      by Ansible 2.8 and Ansible galaxy 3.2.
      62fd4cc1
Loading