Skip to content
  1. 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
  2. Oct 28, 2020
  3. 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
  4. Oct 13, 2020
  5. 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
  6. Sep 25, 2020
  7. Sep 21, 2020
  8. Sep 18, 2020
  9. Sep 17, 2020
  10. Sep 09, 2020
  11. 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
  12. Sep 04, 2020
  13. Sep 03, 2020
  14. Sep 02, 2020
    • Sergio Oliveira's avatar
      Merge pull request #376 from rjeffman/ci_add_yml_linters · ce5ee80f
      Sergio Oliveira authored
      Add support for ansible-lint and yamllint as Github actions.
      ce5ee80f
    • Sergio Oliveira Campos's avatar
      Added helpers to config tests for execution on idm-ci. · 06f06c48
      Sergio Oliveira Campos authored
      In order to run the tests in idm-ci we need to configure the our pytest
      tests environment variables. This PR configures that automatically if an
      environment variable TWD is available and $TWD/config exists.
      06f06c48
    • Rafael Guterres Jeffman's avatar
      Add script to run linters. · b7900f1c
      Rafael Guterres Jeffman authored
      The scprit `lint_check.sh` under utils runs the same linters as the
      Github Actions, with the same configuration.
      
      The changes on setup.cfg are required if flake8-docstrings is used,
      so its output is the same as pydocstlye.
      b7900f1c
    • Rafael Guterres Jeffman's avatar
      Disable Python linters on Azure pipelines. · 121f59bb
      Rafael Guterres Jeffman authored
      This patch disables execution of Python lintes on Azure pipelines, as
      they are now executed through Github Actions.
      121f59bb
    • Rafael Guterres Jeffman's avatar
      Enable Python linters as Github Actions · bbf6d51f
      Rafael Guterres Jeffman authored
      Flake8 and Pydocstyle were already being used as checks on Azure
      pipelines, and this change enable the use of both as Github actions
      run on every push (on any fork) end every pull-request.
      
      I uses `rjeffman/python-lint-action` to run both linters using the
      project's configuration.
      bbf6d51f
    • Rafael Guterres Jeffman's avatar
      Fix ansible-lint warning on molecule playbooks. · f2b4bac3
      Rafael Guterres Jeffman authored
      Ansible best practice is to not use `latest` for the `package` module
      state. As we want to use it in the case of nss, this change will
      disable checking for this case.
      f2b4bac3
    • Rafael Guterres Jeffman's avatar
      Enable yaml-lint Github action on push/pull-requests. · c05a7233
      Rafael Guterres Jeffman authored
      By running yamllint we add one more verification of quality to the
      playbooks used on/provided by ansible-freeipa, that will be executed
      on every push (even on forks) or pull-requests.
      
      This patch provides the configuration needed to run yamllint on
      the playbooks found in the `tests`, `playbooks` and `molecule`
      directories, on every push or pull-request done on Github, using
      ibiqlik/action-yamllint action version `v1`.
      
      The current configuration for yamllint has many rules disable, so
      the problems found can be fixed later. All rules after the comment
      `# Disabled rules` should be enabled in the near future.
      c05a7233
Loading