- Jan 17, 2022
-
-
Thomas Woerner authored
The main REAADME has been fixed to contain information about the automount key and map modules, the reference to the hbacsvcgroup README has been fixed and a new test has been added as a github workflow.
-
- Jan 13, 2022
-
-
Thomas Woerner authored
hbacsvcgroup: Fix member management idempotence issues.
-
Thomas Woerner authored
Enable pylint for ansible-freeipa roles.
-
Thomas Woerner authored
pre-commit: Use system shellcheck.
-
Rafael Guterres Jeffman authored
pre-commit: Update ansible-lint version to v5.3.2
-
Rafael Guterres Jeffman authored
The official ShellCheck pre-commit hook uses a docker image, but it is, sometimes, unavailable. This change will use the system installed ShellCheck executable and does not depend on the image download.
-
Thomas Woerner authored
This fixes the import error for render_group from rich.console.
-
Thomas Woerner authored
Github Workflows: Run ansible-lint without an action.
-
Rafael Guterres Jeffman authored
We used a Github Action to run anisble-lint, but it has not have a release since 2019, and has not been updated in a year. This action is showing some issues when evaluating current playbooks. This PR substitute the action previously used with a shell script directly define in the workflow job. The ansible-core version was pinned to the currently available on Fedora 25, 2.11.6.
-
Rafael Guterres Jeffman authored
ansible-test fixes
-
- Jan 12, 2022
-
-
Thomas Woerner authored
ERROR: plugins/modules/ipaautomountmap.py:118:30: E203: whitespace before ':' ERROR: Found 1 compile issue(s) on python 2.6 which need to be resolved: ERROR: plugins/modules/ipasudorule.py:382:63: SyntaxError: {ensure_fqdn(value.lower(), default_domain) for value in host}
-
Thomas Woerner authored
sudorule: Create FQDN from single hostnames
-
Rafael Guterres Jeffman authored
This patch enables pylint evaluation for ansible-freeipa roles in both the local script 'utils/lint-check.sh' and in upstream CI.
-
Rafael Guterres Jeffman authored
Fix pylint warnings raised by enabling linter on ansible-freeipa roles.
-
Rafael Guterres Jeffman authored
This change configure pylint to ignore import modules that might not be availble during development, and ignore names that are relevant in the FreeIPA domain, even if they don't comply with PEP8.
-
Thomas Woerner authored
ipagroup: Refactor and fix group member management.
-
Rafael Guterres Jeffman authored
Enable ansible-test in github workflow
-
Thomas Woerner authored
This test is using the galaxy_importer from ansible project. The configuration file galaxy-importer.cfg is copied from linux-system-roles https://github.com/linux-system-roles/auto-maintenance/blob/master/\ lsr_role2collection/galaxy-importer.cfg The tests script has extra code to parse the output of the importer to highlight errors and to exit with a proper error code. The test can be used locally also with "sh tests/sanity/sanity.sh" New files: - .github/workflows/ansible-test.yml - tests/sanity/galaxy-importer.cfg - tests/sanity/sanity.sh
-
Thomas Woerner authored
add module to create and manage automount keys
-
- Jan 11, 2022
-
-
Rafael Guterres Jeffman authored
Fixed several issues found during code review and change AutomountkeyModule to use IPAAnsibleModule instead of deprecated FreeIPABaseModule.
-
chrisp authored
There is a new automount key module placed in the plugins folder: plugins/modules/ipaautomountkey.py The server module allows to ensure presence and absence of automount keys. The module requires an existing automount location and map to place the key within. Here is the documentation for the module: README-automountkey.md New example playbooks have been added: playbooks/automount/automount-key-absent.yaml playbooks/automount/automount-key-present.yaml New tests for the module: tests/automount/test_automountkey.yml
-
Thomas Woerner authored
add module to create and manage automount maps
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
Currently, when adding an overlapping set of members causes playbook to fail as the already existing members are added twice. This patch refactors membership management by removing duplicate logic and handling all changes to members in a single place. This change removed code that was causing the execution failures.
-
- Jan 06, 2022
-
-
chrisp authored
There is a new server management module placed in the plugins folder: plugins/modules/ipaautomountmap.py The server module allows to ensure presence and absence of automount maps. The module requires an existing automount location to place the map within. It does not create any automount keys with in the map. Here is the documentation for the module: README-automountmap.md New example playbooks have been added: playbooks/automount/automount-map-absent.yaml playbooks/automount/automount-map-present.yaml New tests for the module: tests/automount/test_automountmap.yml
-
- Jan 05, 2022
-
-
Thomas Woerner authored
upstrem CI: Fix Ansible version in pytest playbooks.
-
Thomas Woerner authored
upstream CI: Add support for CentOS 9 stream.
-
Thomas Woerner authored
upstream CI: Enable nightly tests using ansible-core 2.12.
-
Thomas Woerner authored
upstream CI: Enable ansible-doc-test for ansible-core 2.12.
-
Thomas Woerner authored
iparole: Add state 'renamed'.
-
- Jan 04, 2022
-
-
Thomas Woerner authored
upstream CI: Wait for KDC to be available.
-
- Jan 03, 2022
-
-
Rafael Guterres Jeffman authored
Sometimes the first test of a batch fails because it fails to grant a TGT from Kerberos KDC as it is not yet fully working. By waiting until a TGT can be acquired, these failures will not happen anymore.
-
- Dec 29, 2021
-
-
Rafael Guterres Jeffman authored
All ansible-freeipa modules which allow object renaming should support 'state: renamed'. This patch adds suport for the missing state, and fixes cases where a user could try to rename the object and set its members, which would fail depending on the operation order. Fix #566
-
Rafael Guterres Jeffman authored
Single hostnames can be used for sudorule_add_host and will match fqdn in IPA internally. Simple host names have to be extended to be FQDN to be able to compare them for sudorule_host_add and sudorule_host_remove. Fixes #672
-
- Dec 28, 2021
-
-
Thomas Woerner authored
Remove unused, old example of ipaclient deploy.
-
- Dec 23, 2021
-
-
Rafael Guterres Jeffman authored
galaxy.yml: Add linux tag for AH
-
Thomas Woerner authored
-
Rafael Guterres Jeffman authored
Readme fixes
-
Thomas Woerner authored
The Variables and also the Return Variables sections contained an extra header with the module name. This is only needed if there are more than one module in the README.
-
Thomas Woerner authored
automount location was missing in README.md in the feature and also in the README link section. The links for location, permission, privilege and selfservice have been wrongly using the ipa prefix for the module
-