- Nov 11, 2022
-
-
Rafael Guterres Jeffman authored
This patch modifies the way that the certificate load function is defined, depending on the dependency version, so that the resulting identifier for the function is always set and static analysis tools, like linters don't complain about variables being used before being set. The same idiom is applied to both the ipaclient role and the plugins ansible_module_utils.
-
Rafael Guterres Jeffman authored
Under Python 3.11 some linters have failed to execute due to deprecated items. Increasing or setting specific allow the linters to succeed with Python's lates version.
-
Thomas Woerner authored
netgroup: Fix environment cleanup on ipanetgroup tests.
-
Rafael Guterres Jeffman authored
Tests for ipanetgroup were not correctly clearing up the tests, causing test failures when running them in some specific order. By fixing the 'name' attribute list the tests succeed, independently of the order they are executed.
-
Thomas Woerner authored
New netgroup management module
-
Rafael Guterres Jeffman authored
ipaclient_setup_nss: Fix undefined ca_certs for NoCertificateError case
-
- Nov 10, 2022
-
-
Thomas Woerner authored
In case get_certs_from_ldap failed with errors.NoCertificateError the code lead to a trace back as certstore.make_compat_ca_certs was using with undefined ca_certs variable. The code to generate ca_certs for this case was copied over from ipaclient_api. This is loading the certificate list from paths.IPA_CA_CRT.
-
- Nov 07, 2022
-
-
Rafael Guterres Jeffman authored
Fix upstream ansible test ansible 2.13
-
Thomas Woerner authored
use_docker was determined using `which docker`, shellcheck wants to have `docker -v` instead.
-
Thomas Woerner authored
Copy of tests/sanity/ignore-2.13.txt with removed compile-2.6 and import-2.6 lines.
-
- Oct 27, 2022
-
-
Rafael Guterres Jeffman authored
ipadnsrecord: Fix documentation sections and agument spec
-
Rafael Guterres Jeffman authored
ipamodule_base_docs: Fix documentation sections
-
Thomas Woerner authored
ansible-test with ansible-2.14 is adding a lot of new tests to ensure that the documentation section and the agument spec is complete. Needed changes: DOCUMENTATION section - `type: str` needs to be set for string parameters
-
- Oct 26, 2022
-
-
Thomas Woerner authored
ansible-test with ansible-2.14 is adding a lot of new tests to ensure that the documentation section and the agument spec is complete. Needed changes: DOCUMENTATION section - `type: str` needs to be set for string parameters - `type: list` needs to be set for list parameters - `elements: str` needs to be given for list of string parameters - `type: string` is not valid and needs to be replaced by `type: str` - `suboptions` instead of `options` needs to be used for dict parameters - `authors` needs to be given with the github user also: `Name (@user)` - `choices` needs to match `argument_spec` - `description` needs to match parameter - all parameters need to be defined argument_spec - `elements="str"` needs to be added to all list of string parameters - `no_log=False` or `no_log=True` needs to be set for all parameters that have `key` in the name or for dicts also in one the key names - `elements="dict"` needs to be added to all list of dict parameters The `copyright` date is extended with `-2022`.
-
Rafael Guterres Jeffman authored
ipahost: Fix documentation sections and agument spec
-
Thomas Woerner authored
ansible-test with ansible-2.14 is adding a lot of new tests to ensure that the documentation section and the agument spec is complete. Needed changes: DOCUMENTATION section - `type: str` needs to be set for string parameters - `type: list` needs to be set for list parameters - `elements: str` needs to be given for list of string parameters - `suboptions` instead of `options` needs to be used for dict parameters - `required` tags need to be fixed according to the `argument_spec` - `aliases` tag needs to match `argument_spec` - `type` tag needs to match `argument_spec` - `default` tag needs to match `argument_spec` - `author` needs to be given with the github user also: `Name (@user)` RETURN section - `contains` needs to be used instead of `options` for dicts - `type: str` needs to be used for string parameters argument_spec - `elements="str"` needs to be added to all list of string parameters - `no_log=False` or `no_log=True` needs to be set for all parameters that have `key` in the name or for dicts also in one the key names The `copyright` date is extended with `-2022`. Additional changes: - Parameter sshpubkey changed to list of strings in argument_spec - New test test/host/test_host_sshpubkey.yml
-
Rafael Guterres Jeffman authored
ipauser: Fix documentation sections and agument spec
-
Rafael Guterres Jeffman authored
ipavault: Fix documentation sections and agument spec
-
- Oct 21, 2022
-
-
Rafael Guterres Jeffman authored
ipadnsforwardzone: : Fix documentation sections and agument spec
-
- Oct 19, 2022
-
-
Denis Karpelevich authored
There is a new netgroup management module placed in the plugins folder: plugins/modules/ipanetgroup.py The netgroup module allows to ensure presence or absence of netgroup and manage netgroup members. Here is the documentation for the module: README-netgroup.md New example playbooks have been added: playbooks/netgroup/netgroup-absent.yml playbooks/netgroup/netgroup-member-absent.yml playbooks/netgroup/netgroup-member-present.yml playbooks/netgroup/netgroup-present.yml New tests for the module: tests/netgroup/test_netgroup.yml tests/netgroup/test_netgroup_client_context.yml tests/netgroup/test_netgroup_member.yml tests/netgroup/test_netgroup_member_absent.yml tests/netgroup/test_netgroup_member_case_insensitive.yml Signed-off-by:
Denis Karpelevich <dkarpele@redhat.com>
-
Rafael Guterres Jeffman authored
ipatopologysegment: Fix documentation sections and agument spec
-
Thomas Woerner authored
ansible-test with ansible-2.14 is adding a lot of new tests to ensure that the documentation section and the agument spec is complete. Needed changes: DOCUMENTATION section - `type: str` needs to be set for string parameters - `author` needs to be given with the github user also: `Name (@user)` argument_spec - `type="str"` needs to added to all string parameters The `copyright` date is extended with `-2022`.
-
Thomas Woerner authored
According to the argument_spec new_public_key is an alias for vault_public_key and new_public_key_file is an alias for vault_public_key_file. The aliases have been added.
-
Thomas Woerner authored
ansible-test with ansible-2.14 is adding a lot of new tests to ensure that the documentation section and the agument spec is complete. Needed changes: DOCUMENTATION section - `type: str` needs to be set for string parameters - `type: bool` needs to be set for bool parameters - `type: list` needs to be set for list parameters - `elements: str` needs to be given for list of string parameters - `type: string` is not valid and needs to be replaced by `type: str` - `required` tags need to be fixed according to the `argument_spec` - `aliases` tag needs to match `argument_spec` - `author` needs to be given with the github user also: `Name (@user)` - `choices` needs to match `argument_spec` - all parameters need to be defined RETURN section - `contains` needs to be used instead of `options` for dicts - `type: string` is not valid and needs to be replaced by `type: str` argument_spec - `elements="str"` needs to be added to all list of string parameters - `default=.*` needs to be dropped if `required=True` is also given The `copyright` date is extended with `-2022`.
-
Thomas Woerner authored
documentation: Change occurences of whitelist to allowlist.
-
Thomas Woerner authored
new_module: Modify new_module and templates for Ansible 2.14
-
Rafael Guterres Jeffman authored
This change follows language use recomendation from NISTIR 8366, "Guidance for NIST Staff on Using Inclusive Language in Documentary Standards", accessible from https://nvlpubs.nist.gov/nistpubs/ir/2021/NIST.IR.8366.pdf
-
- Oct 18, 2022
-
-
Thomas Woerner authored
ipaconfig: Do not require enable_sid for add_sids or netbios_name
-
Rafael Guterres Jeffman authored
Current behavior of ipaconfig mimics FreeIPA CLI and requires that 'enable_sid' is set to True every time add_sids or netbios_name are used. It is sufficient that SID generation is enabled to use add_sids and netbios_name, but the IPA API requires 'enable_sid' so that the operations are executed. This patch allows ansible-freeipa plugin ipaconfig to run 'add_sids' or set 'netbios_name without requiring 'enable_sid' to be set on the playbook. If SID generation is enabled, 'add_sids' and 'netbios_name' can be used without 'enable_sid: yes'. If SID generation is not enabled, an error message will be raised if 'enable_sid: yes' is not used.
-
- Oct 17, 2022
-
-
Thomas Woerner authored
ipaconfig: Do not allow enable_sid set to False.
-
Rafael Guterres Jeffman authored
Once enabled, SID cannot be disabled. This patch ensures that an error is raised if one tries to disable SID.
-
- Oct 13, 2022
-
-
Thomas Woerner authored
ipaconfig: Fix fail_json calls.
-
- Oct 08, 2022
-
-
Rafael Guterres Jeffman authored
ipaservice:: Fix documentation sections and agument spec
-
Rafael Guterres Jeffman authored
ipaserver: Fix documentation sections and agument spec
-
Rafael Guterres Jeffman authored
iparole: Fix documentation sections and agument spec
-
Rafael Guterres Jeffman authored
ipaselfservice: Fix documentation sections and agument spec
-
Rafael Guterres Jeffman authored
ipaprivilege: Fix documentation sections and agument spec
-
Rafael Guterres Jeffman authored
ipapermission: Fix documentation sections and agument spec
-
- Oct 06, 2022
-
-
Rafael Guterres Jeffman authored
ipaidrange: Fix documentation sections and agument spec
-
- Oct 05, 2022
-
-
Rafael Guterres Jeffman authored
ansible-test with ansible-2.14 is adding a lot of new tests to ensure that the documentation section and the agument spec is complete. To aid the creation of new_modules that follow these rules, the 'new_module' script and its templates were modified to use the new ansible-test rules. The 'new_module' script now requires a new argument, github_user, and the code templates provide the required fields (like 'type' and 'elements') to the provide examples.
-