Skip to content
  1. Nov 16, 2020
    • Rafael Guterres Jeffman's avatar
      Add FreeIPA version check to module_utils.ansible_freeipa_module. · 2aaabc77
      Rafael Guterres Jeffman authored
      Some attribute values are only accepted for specific FreeIPA versions,
      for example `self` for permission's `bindtype`. Although there are
      options to check for command and parameter availability, there is no
      check for verifying if a value should be accepted.
      
      This patch add a function to evaluate the target FreeIPA host version,
      by comparing a giver version to the current installed one.
      
      The version evaluation uses Python packaging's version comparision,
      which is compatible with PEP 440, if available. If not available, it
      falls back to a string split, that will work for the most common cases,
      but might fail for versions including strings with `rc` or `dev`, for
      example.
      2aaabc77
    • Thomas Woerner's avatar
      Merge pull request #396 from rjeffman/ansible_bypass_value_masking · 0e642245
      Thomas Woerner authored
      Bypass Ansible filtering on data returned by the module.
      0e642245
  2. Nov 13, 2020
  3. Nov 09, 2020
    • Thomas Woerner's avatar
      Fix utils/changelog for merge commits without subject · 2dbbcce5
      Thomas Woerner authored
      There is curently a merge commit without a subject, which leads into a
      traceback in the changelog script.
      
      The merge information provides the commit hash, which is now used to get
      the subject later on using the generated commits hash.
      2dbbcce5
  4. Nov 06, 2020
    • Rafael Guterres Jeffman's avatar
      c62f003e
    • Thomas Woerner's avatar
      New backup role · 59afa282
      Thomas Woerner authored
      There is a new backup role in the roles folder:
      
          roles/ipabackup
      
      This role allows to backup an IPA server, to copy a backup from the
      server to the controller, to copy all backups from the server to the
      controller, to remove a backup from the server, to remove all backups
      from the server, to restore an IPA server locally and from the controller
      and also to copy a backup from the controller to the server.
      
      Here is the documentation for the role:
      
          roles/ipabackup/README.md
      
      New example playbooks have been added:
      
          playbooks/backup-server.yml
          playbooks/backup-server-to-controller.yml
          playbooks/copy-backup-from-server.yml
          playbooks/copy-all-backups-from-server.yml
          playbooks/remove-backup-from-server.yml
          playbooks/remove-all-backups-from-server.yml
          playbooks/copy-backup-to-server.yml
          playbooks/restore-server-from-controller.yml
          playbooks/restore-server.yml
      59afa282
  5. Oct 28, 2020
  6. Oct 23, 2020
    • Rafael Guterres Jeffman's avatar
    • Seth Kress's avatar
      New Permission management module · 8a8487ed
      Seth Kress authored
      There is a new permission management module placed in the plugins folder:
      
          plugins/modules/ipapermission.py
      
      The permission module allows to ensure presence of absence of permissions
      and manage permission members.
      
      Here is the documentation for the module:
      
          README-permission.md
      
      New example plabooks have been added:
      
          playbooks/permission/permission-absent.yml
          playbooks/permission/permission-allow-read-employeenum.yml
          playbooks/permission/permission-member-absent.yml
          playbooks/permission/permission-member-present.yml
          playbooks/permission/permission-present.yml
          playbooks/permission/permission-renamed.yml
      
      New tests for the module:
      
          tests/permission/test_permission.yml
      8a8487ed
  7. Oct 14, 2020
    • Rafael Guterres Jeffman's avatar
      Add support for adding external members to ipagroup. · c7db1878
      Rafael Guterres Jeffman authored
      This patch add support for adding external members to ipagroup which
      have the `external` attribute set. It adds another attribute to the
      module, `external_members`, which is a list of users or groups from
      an external trust, to be added to the group.
      
      This patch requires server-trust-ad to be tested, as such, the tests
      have been guarded by a test block, for when such tests are available
      in ansible-freeipa CI.
      
      Fixes issue #418
      c7db1878
  8. Oct 13, 2020
  9. Oct 08, 2020
    • Thomas Woerner's avatar
      New script utils/changelog · f929ad90
      Thomas Woerner authored
      This scrip can be used to generate the changelog text for a new
      ansible-freeipa release on github.
      
          usage: Usage: changelog [options] [<new version>]
      
          optional arguments:
            -h, --help  show this help message and exit
            --tag TAG   git tag
      
      If the script is used without a givn tag, it will show all the changes since
      the last tag. If a tag (this can be a also a commit) is given, then all
      changes since this commit are shown.
      f929ad90
    • Thomas Woerner's avatar
      New script utils/ansible-doc-test · 6fb49102
      Thomas Woerner authored
      This script can check modules in roles and also plugins folder to have
      a valid documentation section. It is using anisble-doc internally.
      
          usage: Usage: ansible-doc-test [options] [path]
      
          optional arguments:
            -h, --help  show this help message and exit
            -v          increase output verbosity
      
      There are different verbose levels:
      
          -v   Shows the modules that are tested at the moment.
          -vv  Shows the modules and also the doc output.
      
      You can use the script to check specific modules, roles or modules in roles.
      Here are some examples:
      
      Test specific module with verbose level 1:
          $ utils/ansible-doc-test -vv plugins/modules/ipauser.py
      
      Test all modules in plugins folder:
          $ utils/ansible-doc-test -v plugins
      
      Test ipaserver_prepare.py in ipaserver role:
          $ utils/ansible-doc-test -v roles/ipaserver/library/ipaserver_prepare.py
      
      Test all modules in ipaserver role:
          $ utils/ansible-doc-test -v roles/ipaserver
      
      Test all roles:
          $ utils/ansible-doc-test -v roles
      
      Test all roles and modules in plugins:
          $ utils/ansible-doc-test -v
      6fb49102
  10. Sep 25, 2020
  11. Sep 21, 2020
  12. Sep 18, 2020
  13. Sep 17, 2020
  14. Sep 09, 2020
  15. Sep 08, 2020
    • Thomas Woerner's avatar
      ipa[server,replica,client]: Drop deactivated Python2/3 test · cf4c5903
      Thomas Woerner authored
      These tests have been deactivated for some time with b51397eb and are
      removed now.
      cf4c5903
    • Thomas Woerner's avatar
      ipa[server,replica]: New variables to set firewalld zone · a7e532a4
      Thomas Woerner authored
      The new variables ipa[server,replica]_firewalld_zone have been added to
      be able to set the zone in which the needed services for IPA are enabled.
      
      New tasks have been added to check if the zone is available in the runtime
      and also permamanet environment.
      
      The code to enable firewalld has been moved out of thee
      ipa[server,replica]_install_packages blocks to make sure that the firewalld
      service is also enabled if the package is already installed.
      
      Fixes: issue #177 (How to set up firewalld zones?)
      a7e532a4
  16. Sep 04, 2020
  17. Sep 03, 2020
Loading