- Jan 12, 2022
-
-
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
-
- 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
-
- 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
-
Rafael Guterres Jeffman authored
-
Thomas Woerner authored
ipaservice: code refactor
-
Rafael Guterres Jeffman authored
Automember fixes
-
- Dec 22, 2021
-
-
Rafael Guterres Jeffman authored
Automember client test was failing as it was using 'name' along with 'state: rebuilt'.
-
Thomas Woerner authored
The removal of group or hostgroup orphans has been added to the automember module. It can be ensured that orphans have been removed using action: orphans_removed The automember_type needs to be set for this. New examples have been added to README-automember.md New playbooks: - playbooks/automember/automember-group-orphans-removed.yml - playbooks/automember/automember-hostgroup-orphans-removed.yml New tests: - tests/automember/test_automember_orphans_removed.yml
-
Thomas Woerner authored
The fallback group and hostgroup for unmached entries can be set and unset using default_group. If default_group is empty, then the default group will be unset. DN and ipa_get_based provided by ansible_freeipa_module are used in the code. New parameters: - default_group: Default (fallback) group for all unmatched entries. New parameters and examples have been added to README-automember.md New playbooks: - playbooks/automember/automember-default-group-not-set.yml - playbooks/automember/automember-default-group-set.yml - playbooks/automember/automember-default-hostgroup-not-set.yml - playbooks/automember/automember-default-hostgroup-set.yml New tests: - tests/automember/test_automember_default_group.yml
-
Thomas Woerner authored
There was state: rebuild before, but the code was incomplete and was not able to run properly. New parameters: - users: Limit the rebuild to the given users only - hosts: Limit the rebuild to the given hosts only - no_wait: Don't wait for rebuilding membership New parameters and examples have been added to README-automember.md tests/automember/test_automember_client_context.yml has been using state: rebuild and lacked the automember_type parameter. grouping was used in functions and has been replaced by automember_type. Some typos in examples have been fixed also. New playbooks: - playbooks/automember/automember-group-membership-all-users-rebuilt.yml - playbooks/automember/automember-group-membership-users-rebuilt.yml - playbooks/automember/automember-hostgroup-membership-all-hosts-rebuilt.yml - playbooks/automember/automember-hostgroup-membership-hosts-rebuilt.yml New tests: - tests/automember/test_automember_rebuilt.yml
-
Thomas Woerner authored
These functions have been added to get the basedb from api.env for use with DN for example. api_get_basedn is returning api.env.basedn IPAAnsibleModule.ipa_get_basedn is a wrapper for api_get_basedn
-
- Dec 14, 2021
-
-
Rafael Guterres Jeffman authored
More Automation Hub fixes
-
Thomas Woerner authored
These are indent issues, one item per line for argument_specs items containing options dicts and missing or overflow spaces for comments and dict delimiters.
-
Thomas Woerner authored
-
Thomas Woerner authored
These are skips for python 2.6 with import-2.6!skip and compile-2.6!skip, ignores for the exit_raw_json function in ansible_freeipa_module.py for use with ipavault, the ignore of using automatic field numbering for the string format function, the use of string split without maxsplits (not working in Python2), skips of the shebang tests for scripts in tests and utils and the ignore of missing collection_name for deprecate function calls in ansible_freeipa_module.py.
-
Thomas Woerner authored
-
Thomas Woerner authored
-
Thomas Woerner authored
plugins/modules/ipabackup_* needs to be cleaned up not plugins/action/ipabackup_*
-
- Dec 13, 2021
-
-
Thomas Woerner authored
Deprecate FreeIPABaseModule in favor of IPAAnsibleModule.
-
- Dec 10, 2021
-
-
Thomas Woerner authored
yamllint: Fix missing document start.
-
Rafael Guterres Jeffman authored
-