Rafael Guterres Jeffman
a3089484b1
playbooks: Fix automount tasks to make ansible-lint happy
...
A few playbooks still had task name starting with lower case letters.
2023-01-17 14:24:09 -03:00
Rafael Guterres Jeffman
1469ac6058
dnszone tests: Fix typo on task names.
2023-01-17 14:00:28 -03:00
Rafael Guterres Jeffman and GitHub
308d970b6c
Merge pull request #1026 from t-woerner/ansible_lint_tests
...
Ansible lint tests
2023-01-17 12:02:50 -03:00
Rafael Guterres Jeffman and GitHub
7b470ceb60
Merge pull request #1022 from t-woerner/pwpolicy_bool_checks
...
pwpolicy: Fix new bool checks for IPA prior to 4.9.10
2023-01-17 11:49:23 -03:00
Rafael Guterres Jeffman and GitHub
77f5d8751f
Merge pull request #1027 from t-woerner/use_yml_extension_for_all_automount_example_playbooks
...
playbooks/automount: All playbooks should use .yml
2023-01-17 09:45:17 -03:00
Rafael Guterres Jeffman and GitHub
434905432d
Merge pull request #1024 from rjeffman/pwpolicy_client_fix
...
pwpolicy: Fix tests for 'minlength: ""'
2023-01-16 22:44:51 -03:00
Rafael Guterres Jeffman
9f773ff5ac
pwpolicy: Fix tests for 'minlength: ""'
...
When clearing minimum length parameter, FreeIPA raises an error, and the
error is different when executing the playbook in server or client
context. Since the error message is evaluated in the text, both errors
must be accepted as "not a failure", since ansible-freeipa did the
correct call.
Once https://pagure.io/freeipa/issue/9297 is fixed, the test must be
updated to not accept any of these error messages.
2023-01-16 21:33:46 -03:00
Rafael Guterres Jeffman and GitHub
e95bec1803
Merge pull request #1023 from t-woerner/ansible_lint_needs_collection_source_dir
...
.github/workflows/lint.yml: ansible-lint needs collection source dir
2023-01-16 16:47:24 -03:00
Rafael Guterres Jeffman
529deae407
ansible-lint: Fix file kind and ignores.
...
ansible-lint must ignore Azure configuration, and handle non-test files
with the proper kind (tasks or playbook).
2023-01-12 13:21:52 -03:00
Rafael Guterres Jeffman
a945862540
roles: Fix ansible-lint name:template warnings
...
ansible-lint warns if Jinja2 templates are not used as the last item in
a task name.
2023-01-12 13:13:31 -03:00
Rafael Guterres Jeffman
8240d9beb6
roles: Fix ansible-lint warning on var-naming.
...
ansible-lint warns if set_fact sets a variable where the name is used
or can be as a parameter for the role.
2023-01-12 12:49:41 -03:00
Rafael Guterres Jeffman
6da6110432
Fix issues raised by Flake8 version 5.0.3
2023-01-12 12:34:28 -03:00
Rafael Guterres Jeffman
1d8deb8e2d
Fix issues raised by Pylint version 2.14.4.
2023-01-12 12:34:28 -03:00
Rafael Guterres Jeffman
b3856a1e2c
Update Github workflow linter and check tools.
...
Update Github workflow tools to match the versions on Fedora 37.
2023-01-12 12:34:28 -03:00
Rafael Guterres Jeffman
410682a01d
pwpolicy: Allow clearing policy values.
...
All values for pwpolicy can be cleared with an empty string in IPA CLI,
and this behavior was missing in ansible-freeipa.
As of today, there is an issue in FreeIPA that does not allow clearing
'minlength' policy. The is is tracked by the FreeIPA project through
https://pagure.io/freeipa/issue/9297
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2150334
2023-01-12 12:18:57 -03:00
Rafael Guterres Jeffman
ee59ec2142
upstream ci: Update Ansible versions on Azure pipelines.
...
As we now have ansible-core 2.14 available through 'pip', the versions
used for testing on Azure should be 2.12, 2.13 and 2.14, as Ansible
keeps upstream support for the latest version plus the two previous
ones.
This patch update the version used in tests by increasing the version
used by 1 (MINOR).
2023-01-11 19:00:13 -03:00
Rafael Guterres Jeffman
d043a3bdd1
Update development tools.
...
Update development tools to match Fedora 37 versions.
2023-01-11 18:38:37 -03:00
Rafael Guterres Jeffman
5062ac2b09
roles: Fix when, block and always key order.
...
ansible-lint warns if 'warn' key is used before block and always keys.
2023-01-11 14:37:39 -03:00
Rafael Guterres Jeffman
292e2eb60e
roles: Fix jinja2 template spacing
...
This patch fixes ansible-lint warns on jinja2 template spacing in roles
2023-01-11 14:29:40 -03:00
Rafael Guterres Jeffman
baa7cae8bf
roles: Fix task names to start with uppercase letters
...
ansible-lint warns if task names don't start with an uppercase letter.
2023-01-11 14:29:33 -03:00
Rafael Guterres Jeffman
6b7633976c
roles: Fix use of ansible.builtin.fail free-form message.
...
ansible-lint warns to avoid using free-form when calling module actions
and ansible-freeipa roles used this form with 'ansible.builtin.fail'.
2023-01-11 14:27:59 -03:00
Rafael Guterres Jeffman
9a32359a5d
roles: Fix type of data used for for versions in meta files
...
ansible-lint warns if version strings are used as numbers instead fo
strings.
2023-01-11 14:27:59 -03:00
Rafael Guterres Jeffman and GitHub
82e176af95
Merge pull request #1013 from t-woerner/unnamed-tasks
...
yamllint: All tasks need to be named
2023-01-11 12:08:29 -03:00
Rafael Guterres Jeffman and GitHub
f8b5851610
Merge pull request #1016 from t-woerner/galaxyfy_ansible_builtin
...
utils files: Support builtins with ansible.builtin. prefix
2023-01-09 17:54:23 -03:00
Rafael Guterres Jeffman and GitHub
5c630d6021
Merge pull request #1003 from dkarpele/dkarpele-2144724
...
Use netgroup_find instead of netgroup_show to workaround IPA bug.
2023-01-05 09:13:43 -03:00
Rafael Guterres Jeffman and GitHub
ba353a9b16
Merge pull request #1007 from t-woerner/FQCN_ansible_builtin
...
Use FQCN for ansible.builtin
2023-01-03 16:24:19 -03:00
Rafael Guterres Jeffman
56560855b4
upstream ci: Allow tasks to retry in case of connection failure.
...
Some tasks used to setup Azure environment might fail to temporary
errors like timeouts and connection failures. Allowing the tasks to
retry a few times will allow the test to be correctly executed rather
than returning an error that is not related to the feature tested.
2022-12-26 12:15:06 -03:00
Rafael Guterres Jeffman and GitHub
a8d44e2c52
Merge pull request #1002 from t-woerner/fix_spec_file_for_loop
...
ansible-freeipa.spec.in: Fix for loop with wildcard
2022-12-23 18:53:59 -03:00
Rafael Guterres Jeffman and GitHub
c5ba88d725
Merge pull request #1000 from t-woerner/stay_at_ubuntu_20.04
...
tests/azure: Temporarily stay at Ubuntu 20.04
2022-12-02 13:06:21 -03:00
Rafael Guterres Jeffman
a4b71700f7
tests/sanity: Add ignore file for ansible-core 2.14
2022-11-30 10:13:40 -03:00
Rafael Guterres Jeffman and GitHub
5f5807b49c
Merge pull request #996 from t-woerner/ipaclient_configure_dns_resolver_no_master
...
ipaclient: No DNS resolver configuration on master
2022-11-30 09:43:45 -03:00
Rafael Guterres Jeffman
76aad71974
environment: Fix os.environ language setting.
...
A combination of ansible-freeipa modifications and a newer version of
IPA has brought a regression regarding different OS localization.
For properly setting environment to use "C" language, as required by
ansible-freeipa, the setting must be executed before importing the
module 'ipaserver.dcerpc', so setting environment language was moved
closer to the 'import os' statement, so that it is always set, as soon
as possible.
Note that 'import os' should always be imported before any FreeIPA
module.
2022-11-30 00:57:07 -03:00
Rafael Guterres Jeffman
8459e1c454
utils: Remove deprecated shell scripts used to deploy IPA.
...
The deprecated shell scripts used to deplay IPA are outdated and are
not needed to deploy IPA. There is no documentation about them, and
they would need to be updated and maintained in the future.
2022-11-28 12:34:09 -03:00
Rafael Guterres Jeffman
0bb0d99aa4
pre-commit: Fix pycqa pre-commit repos.
...
The pycqa pre-commit repos were using 'gitlab.com', instead of
'github.com', which is, today, the correct repository to use.
This patch fixes the addresses for Flake8 and pydocstyle checks.
2022-11-23 18:36:16 -03:00
Rafael Guterres Jeffman
d859ddc7fe
sudorule: Add support for 'hostmask' parameter
...
The hostmask parameter allows matching a sudorule against a network
address, and was missing from ipasudorule module.
Documentation and tests were updated to reflect changes.
Two new example playbooks are available:
playbooks/sudorule/ensure-sudorule-hostmask-member-is-absent.yml
playbooks/sudorule/ensure-sudorule-hostmask-member-is-present.yml
2022-11-23 18:30:48 -03:00
Rafael Guterres Jeffman and GitHub
460adff1ba
Merge pull request #988 from t-woerner/ipaclient_configure_dns_resolver
...
ipaclient: Configure DNS resolver
2022-11-23 16:24:56 -03:00
Rafael Guterres Jeffman and GitHub
a823c0b09c
Merge pull request #987 from t-woerner/ipaclient_no_kinit_on_controller_for_OTP
...
ipaclient: No kinit on controller for deployment using OTP
2022-11-23 11:50:57 -03:00
Rafael Guterres Jeffman
01287288a7
github worflows: speed up git checkout.
...
This patch add 'fetch-depth: 0' to 'checkout' plugin on Github Worflows
to slightly speed up verifications.
2022-11-18 12:11:11 -03:00
Rafael Guterres Jeffman
58725364c1
pwpolicy: Add support for password check and grace limit.
...
On recent versions of FreeIPA option to verify passwords and for
controlling a password grace period have been added to IPA API.
This patch adds support for the parameters maxrepeat, maxsequence,
dictcheck and usercheck, available since FreeIPA, 4.9 and gracelimit,
available since FreeIPA 4.9.10.
Test playbooks for the module have been updated with the new supported
parameters.
New example playbooks can be found at:
playbooks/pwpolicy/pwpolicy_grace_limit.yml
playbooks/pwpolicy/pwpolicy_password_check.yml
2022-11-18 11:25:45 -03:00
Rafael Guterres Jeffman and GitHub
9423eb81b7
Merge pull request #975 from t-woerner/fix_ipareplica_role_for_ansible_test
...
Fix ipareplica role for ansible test
2022-11-18 11:21:15 -03:00
Rafael Guterres Jeffman and GitHub
ef11e75944
Merge pull request #968 from t-woerner/fix_ipasmartcard_client_role_for_ansible_test
...
Fix ipasmartcard client role for ansible test
2022-11-18 11:12:04 -03:00
Rafael Guterres Jeffman and GitHub
932856df67
Merge pull request #967 from t-woerner/fix_ipabackup_role_for_ansible_test
...
ipabackup_get_backup_dir: Fix documentation sections and agument spec
2022-11-18 11:11:01 -03:00
Rafael Guterres Jeffman and GitHub
118d754d69
Merge pull request #969 from t-woerner/fix_ipasmartcard_server_role_for_ansible_test
...
Fix ipasmartcard server role for ansible test
2022-11-18 11:07:49 -03:00
Rafael Guterres Jeffman and GitHub
ef5ae121c8
Merge pull request #976 from t-woerner/fix_ipaserver_role_for_ansible_test
...
Fix ipaserver role for ansible test
2022-11-18 11:05:02 -03:00
Rafael Guterres Jeffman
6601ee3af5
upstream tests: Removal of 'warn: no' from shell plugins
...
The parameter 'warn' from ansible.builtin.shell was deprecated in
ansible-core version 2.11 and removed in version 2.14.
This patch removes the usage of this parameter from ansible-freeipa
tests, and adds 'deprecated-command-syntax' to the skip list of
ansible-lint configuration to cope with the change in the linter.
2022-11-17 10:35:20 -03:00
Rafael Guterres Jeffman and GitHub
b34062cabd
Merge pull request #972 from t-woerner/fix_ipaclient_role_for_ansible_test
...
Fix ipaclient role for ansible test
2022-11-17 09:10:39 -03:00
Rafael Guterres Jeffman
f2632d8c90
upstream ci: Use Shellcheck action from 'master'.
...
The Shellcheck action used in Gtihub workflows has bee updated, but has
not have a new release in 18 months. It is recommended by the action
developers to use the 'master' branch for the action.
This patch enables the use of the master branch for the Shellcheck
action.
2022-11-14 08:59:55 -03:00
Rafael Guterres Jeffman
f82b93a801
upstream ci: Update Github actions due to old Node.js.
...
There are warnings on Github workflows about the need to update actions
'checkout' and 'setup-python' due to the use of Node.js versions that
are too old.
This patch updates the use of actions/checkout from v2 to v3.1.0, and
setup-python from v2 to v4.3.0.
2022-11-14 08:59:55 -03:00
Rafael Guterres Jeffman
29dccf3d8a
pylint: Fix pylint issues on utils/galaxyfy-module-EXAMPLES.py
2022-11-11 15:59:42 -03:00
Rafael Guterres Jeffman
9b6fd8cce0
pylint: Update configuration for Python 3.11
...
Update pylint configuration on setup.cfg to cope with recent changes
in Python 3.11.
2022-11-11 15:59:42 -03:00
Rafael Guterres Jeffman
10b3f4610c
pylint: Modify certificate loader function definition.
...
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.
2022-11-11 15:59:42 -03:00
Rafael Guterres Jeffman
b7e39ce7e9
linters: Fix versions of linter packages due to Python 3.11.
...
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.
2022-11-11 15:59:42 -03:00
Rafael Guterres Jeffman
3773e300f0
netgroup: Fix environment cleanup on ipanetgroup tests.
...
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.
2022-11-11 13:21:48 -03:00
Rafael Guterres Jeffman and GitHub
5a07782cbe
Merge pull request #979 from t-woerner/fix_ipaclient_setup_nss_undefined_ca_certs
...
ipaclient_setup_nss: Fix undefined ca_certs for NoCertificateError case
2022-11-11 08:39:36 -03:00
Rafael Guterres Jeffman and GitHub
767b4d36a6
Merge pull request #973 from t-woerner/fix-upstream-ansible-test-ansible-2.13
...
Fix upstream ansible test ansible 2.13
2022-11-07 13:38:19 -03:00
Rafael Guterres Jeffman and GitHub
4ad3c84cae
Merge pull request #932 from t-woerner/fix_dnsrecord_docs_for_ansible_test
...
ipadnsrecord: Fix documentation sections and agument spec
2022-10-26 20:36:46 -03:00
Rafael Guterres Jeffman and GitHub
7e92fec884
Merge pull request #966 from t-woerner/fix_ipamodule_base_docs_for_ansible_test
...
ipamodule_base_docs: Fix documentation sections
2022-10-26 20:35:48 -03:00
Rafael Guterres Jeffman and GitHub
169e772f29
Merge pull request #938 from t-woerner/fix_host_docs_for_ansible_test
...
ipahost: Fix documentation sections and agument spec
2022-10-26 14:47:43 -03:00
Rafael Guterres Jeffman and GitHub
c1827807c6
Merge pull request #957 from t-woerner/fix_user_docs_for_ansible_test
...
ipauser: Fix documentation sections and agument spec
2022-10-26 08:42:00 -03:00
Rafael Guterres Jeffman and GitHub
5c1c4d83c2
Merge pull request #958 from t-woerner/fix_vault_docs_for_ansible_test
...
ipavault: Fix documentation sections and agument spec
2022-10-26 08:41:50 -03:00
Rafael Guterres Jeffman and GitHub
38e874fddb
Merge pull request #931 from t-woerner/fix_dnsforwardzone_docs_for_ansible_test
...
ipadnsforwardzone: : Fix documentation sections and agument spec
2022-10-21 15:30:53 -03:00
Rafael Guterres Jeffman and GitHub
6e44b4d034
Merge pull request #954 from t-woerner/fix_ipatopologysegment_docs_for_ansible_test
...
ipatopologysegment: Fix documentation sections and agument spec
2022-10-19 11:06:56 -03:00
Rafael Guterres Jeffman
706eb15291
documentation: Change occurences of whitelist to allowlist.
...
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
2022-10-18 21:13:20 -03:00
Rafael Guterres Jeffman
c808ad6e34
ipaconfig: Do not require enable_sid for add_sids or netbios_name
...
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.
2022-10-18 11:13:43 -03:00
Rafael Guterres Jeffman
320168071f
ipaconfig: Do not allow enable_sid set to False.
...
Once enabled, SID cannot be disabled. This patch ensures that an error
is raised if one tries to disable SID.
2022-10-17 12:26:57 -03:00
Rafael Guterres Jeffman and GitHub
fa86cd2944
Merge pull request #948 from t-woerner/fix_service_docs_for_ansible_test
...
ipaservice:: Fix documentation sections and agument spec
2022-10-08 17:20:57 -03:00
Rafael Guterres Jeffman and GitHub
49dbf9fd6c
Merge pull request #947 from t-woerner/fix_server_docs_for_ansible_test
...
ipaserver: Fix documentation sections and agument spec
2022-10-08 17:17:44 -03:00
Rafael Guterres Jeffman and GitHub
f194e919a0
Merge pull request #945 from t-woerner/fix_role_docs_for_ansible_test
...
iparole: Fix documentation sections and agument spec
2022-10-08 17:10:14 -03:00
Rafael Guterres Jeffman and GitHub
69a2be7b51
Merge pull request #946 from t-woerner/fix_selfservice_docs_for_ansible_test
...
ipaselfservice: Fix documentation sections and agument spec
2022-10-08 17:06:39 -03:00
Rafael Guterres Jeffman and GitHub
684dfd9cf3
Merge pull request #943 from t-woerner/fix_privilege_docs_for_ansible_test
...
ipaprivilege: Fix documentation sections and agument spec
2022-10-08 17:05:26 -03:00
Rafael Guterres Jeffman and GitHub
aebb4456ab
Merge pull request #942 from t-woerner/fix_permission_docs_for_ansible_test
...
ipapermission: Fix documentation sections and agument spec
2022-10-08 16:57:26 -03:00
Rafael Guterres Jeffman and GitHub
3877fb689f
Merge pull request #940 from t-woerner/fix_idrange_docs_for_ansible_test
...
ipaidrange: Fix documentation sections and agument spec
2022-10-06 08:57:51 -03:00
Rafael Guterres Jeffman
9a8d756ad6
new_module: Modify new_module and templates for Ansible 2.14
...
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.
2022-10-05 08:46:53 -03:00
Rafael Guterres Jeffman and GitHub
1bf7fb7233
Merge pull request #944 from t-woerner/fix_pwpolicy_docs_for_ansible_test
...
ipapwpolicy: Fix documentation sections and agument spec
2022-10-04 15:21:08 -03:00
Rafael Guterres Jeffman and GitHub
5382c625b2
Merge pull request #949 from t-woerner/fix_servicedelegationrule_docs_for_ansible_test
...
ipaservicedelegationrule: Fix documentation sections and agument spec
2022-10-04 15:19:58 -03:00
Rafael Guterres Jeffman and GitHub
61277c0898
Merge pull request #950 from t-woerner/fix_servicedelegationtarget_docs_for_ansible_test
...
ipaservicedelegationtarget: Fix documentation sections and agument spec
2022-10-04 15:16:52 -03:00
Rafael Guterres Jeffman and GitHub
cd36d32fea
Merge pull request #951 from t-woerner/fix_ipasudocmd_docs_for_ansible_test
...
ipasudocmd: Fix documentation sections and agument spec
2022-10-04 15:15:05 -03:00
Rafael Guterres Jeffman and GitHub
0411b12bbb
Merge pull request #955 from t-woerner/fix_ipatopologysuffix_docs_for_ansible_test
...
ipatopologysuffix: Fix documentation sections and agument spec
2022-10-04 15:10:12 -03:00
Rafael Guterres Jeffman and GitHub
b2ea0d79be
Merge pull request #952 from t-woerner/fix_ipasudocmdgroup_docs_for_ansible_test
...
ipasudocmdgroup: Fix documentation sections and agument spec
2022-10-04 15:08:44 -03:00
Rafael Guterres Jeffman and GitHub
b7c0954553
Merge pull request #956 from t-woerner/fix_ipatrust_docs_for_ansible_test
...
ipatrust Fix documentation sections and agument spec
2022-10-04 15:07:29 -03:00
Rafael Guterres Jeffman and GitHub
87d0812396
Merge pull request #939 from t-woerner/fix_hostgroup_docs_for_ansible_test
...
ipahostgroup: Fix documentation sections and agument spec
2022-10-04 14:58:43 -03:00
Rafael Guterres Jeffman and GitHub
49ad4cbfe1
Merge pull request #937 from t-woerner/fix_hbacsvcgroup_docs_for_ansible_test
...
ipahbacsvcgroup: Fix documentation sections and agument spec
2022-10-03 16:51:33 -03:00
Rafael Guterres Jeffman and GitHub
2f8911eba5
Merge pull request #936 from t-woerner/fix_hbacsvc_docs_for_ansible_test
...
ipahbacsvc: Fix documentation sections and agument spec
2022-10-03 16:50:13 -03:00
Rafael Guterres Jeffman and GitHub
031b6f2f16
Merge pull request #941 from t-woerner/fix_location_docs_for_ansible_test
...
ipalocation: Fix documentation sections and agument spec
2022-09-30 23:43:22 -03:00
Rafael Guterres Jeffman and GitHub
35210b3646
Merge pull request #935 from t-woerner/fix_hbacrule_docs_for_ansible_test
...
ipahbacrule: Fix documentation sections and agument spec
2022-09-30 23:42:10 -03:00
Rafael Guterres Jeffman and GitHub
d1ce1526d2
Merge pull request #934 from t-woerner/fix_group_docs_for_ansible_test
...
ipagroup: Fix documentation sections and agument spec
2022-09-30 23:33:46 -03:00
Rafael Guterres Jeffman and GitHub
0161fea4df
Merge pull request #930 from t-woerner/fix_dnsconfig_docs_for_ansible_test
...
ipadnsconfig: Fix documentation sections and agument spec
2022-09-30 23:26:48 -03:00
Rafael Guterres Jeffman and GitHub
757c0a142b
Merge pull request #933 from t-woerner/fix_dnszone_docs_for_ansible_test
...
ipadnszone: Fix documentation sections and agument spec
2022-09-30 23:25:07 -03:00
Rafael Guterres Jeffman and GitHub
f4fcf1b578
Merge pull request #929 from t-woerner/fix_delegation_docs_for_ansible_test
...
ipadelegation: : Fix documentation sections and agument spec
2022-09-30 22:34:46 -03:00
Rafael Guterres Jeffman
4da89de1d4
ipaconfig: Fix fail_json calls.
...
Ansible's fail_json() method required that the message paramater was
passed with a keyword parameter, rather than a positional one. Although
this seems to work with ansible-core 2.13+, it might not work with
previous versions of Ansible.
This patch fixes the behaviour for all supported Ansible versions.
2022-09-30 15:29:21 -03:00
Rafael Guterres Jeffman and GitHub
0ad7635332
Merge pull request #953 from t-woerner/fix_ipasudorule_docs_for_ansible_test
...
ipasudorule: Fix documentation sections and agument spec
2022-09-30 15:10:27 -03:00
Rafael Guterres Jeffman and GitHub
0ba404733d
Merge pull request #928 from t-woerner/fix_config_docs_for_ansible_test
...
ipaconfig: Fix documentation sections and agument spec
2022-09-30 15:07:20 -03:00
Rafael Guterres Jeffman and GitHub
3c1c3ebe55
Merge pull request #927 from t-woerner/fix_automountmap_docs_for_ansible_test
...
ipaautomountmap: Fix documentation sections and agument spec
2022-09-30 15:05:07 -03:00
Rafael Guterres Jeffman and GitHub
95d961ccf6
Merge pull request #925 from t-woerner/fix_automountkey_docs_for_ansible_test
...
ipaautomountkey: Fix documentation sections and agument spec
2022-09-30 15:02:10 -03:00
Rafael Guterres Jeffman and GitHub
1c1d26c404
Merge pull request #926 from t-woerner/fix_automountlocation_docs_for_ansible_test
...
ipaautomountlocation: Fix documentation sections and agument spec
2022-09-30 14:37:14 -03:00
Rafael Guterres Jeffman and GitHub
43e548a25d
Merge pull request #924 from t-woerner/fix_automember_docs_for_ansible_test
...
ipaautomember: Fix documentation sections and agument spec
2022-09-30 14:03:54 -03:00
Rafael Guterres Jeffman and GitHub
07c8bb1efb
Merge pull request #918 from t-woerner/fix_plugins_for_ansible_fake_execution_test
...
Fix plugins for ansible fake execution test
2022-09-27 10:56:42 -03:00
Rafael Guterres Jeffman and GitHub
f03ad35563
Merge pull request #917 from t-woerner/fix_ipabackup_for_ansible_fake_execution_test
...
ipabackup_get_backup_dir: Fix for ansible-test fake execution test
2022-09-27 10:56:23 -03:00
Rafael Guterres Jeffman and GitHub
e62089ed70
Merge pull request #916 from t-woerner/fix_ipasmartcard_client_for_ansible_fake_execution_test
...
ipasmartcard_client_get_vars: Fix for ansible-test fake execution test
2022-09-27 10:56:10 -03:00
Rafael Guterres Jeffman and GitHub
973319b44c
Merge pull request #915 from t-woerner/fix_ipasmartcard_server_for_ansible_fake_execution_test
...
ipasmartcard_server_get_vars: Fix for ansible-test fake execution test
2022-09-27 10:55:42 -03:00