- 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
Recently added Ubuntu configuration filesi for roles miss document start marker.
-
- Dec 09, 2021
-
-
Thomas Woerner authored
Fix role issues in Debian based distros.
-
Thomas Woerner authored
correct comment in example playbook
-
Thomas Woerner authored
Login shell is called defaultshell and not defaultlogin
-
Thomas Woerner authored
upstream ci: Build images for CentOS 9 Stream.
-
- Dec 08, 2021
-
-
jh23453 authored
Insert "ensure maxlife is set to 49 in global policy" instead of the wrong comment from cut&paste.
-
jh23453 authored
The example didn't work for me with the following error (on freeipa 4.9.8): TASK [display default login shell] ************************************************************************************************** fatal: [freeipa1.example.org]: FAILED! => {"msg": " The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'defaultlogin' Using the correct variable defaultshell works for me.
-
- Nov 30, 2021
-
-
Rafael Guterres Jeffman authored
This PR refactors ipaservice to reduce the number of variables (in favor of a 'struct') and to group member management code so that it can be leveraged, and not partially duplicated, between the states and actions. Altough this code is less direct that the previous one, it will reduce the number fo changes to be made if changes to member management is required.
-
Rafael Guterres Jeffman authored
This patch add support for building testing images for CentOS 9 Stream.
-
- Nov 29, 2021
-
-
Rafael Guterres Jeffman authored
When using ipaclient role under Debian 10 (Buster), it is required that the python interpreter is set to Python 2.7 as freeipa-client package pulls in Python 2.7 dependencies, and does not work with Python 3. This patch adds configuration to properly set python interpreter. Based on the work by Marc Richter (@The-Judge on Github). Fix issue #607.
-
Rafael Guterres Jeffman authored
Ubuntu Bionic Beaver must use python2 as Python interpreter due to the way python-ipalib package is defined. Before using the role for installation, one must install package python2.7 before executing this role. Based on the work by Manuel Laurent (@mlaurent205 on Github).
-
Thomas Woerner authored
ipaservice: Use IPAAnsibleModule member result handler.
-
Thomas Woerner authored
ansible_module_utils: Add method to get parameters as lowercase.
-
- Nov 26, 2021
-
-
Rafael Guterres Jeffman authored
Use IPAAnsibleModule default error handler for member arguments instead of a custom one.
-
- Nov 25, 2021
-
-
Rafael Guterres Jeffman authored
When managing ipaservice members, gen_add_del_lists, gen_add_list and get_intersection_list should be used and the result tested for empty sets so already existing or missing members are not added or removed again. This changes fixes this behavior, by applying these functions to all ipaservice members.
-
Thomas Woerner authored
CI: Add supoprt for Shellcheck
-
Thomas Woerner authored
automember: Fix behavior of unused parameters.
-