Varun Mylaraiah
daf4aafb27
Update README-automember.md
2021-07-13 17:39:30 +05:30
Varun Mylaraiah
f785e8ba23
ipaautomember: Fix documentation.
...
Missing variable "action" added in the automember module documentation.
2021-07-13 16:07:32 +05:30
Thomas Woerner
25f7eb93f5
Merge pull request #569 from rjeffman/docs_ipaserver_role
...
Fix display of variables in ipaserver role README.
v0.3.7
2021-07-08 22:44:14 +02:00
Thomas Woerner
9289473d93
Merge pull request #577 from rjeffman/fix_ignore_errors
...
Remove ignore_errors from pwpolicy tests.
2021-07-08 22:39:43 +02:00
Thomas Woerner
8037ace869
Merge pull request #581 from rjeffman/sudorule_fix_documentation
...
ipasudorule: Fix documentation attribute.
2021-07-08 22:13:50 +02:00
Rafael Guterres Jeffman
041dd761ff
Merge pull request #590 from t-woerner/automember_result_failed_misuse
...
automember: Fix result["failed"] issues with conditions
2021-07-08 16:59:26 -03:00
Thomas Woerner
032c41f89e
automember: Fix result["failed"] issues with conditions
...
result["failed"] is used only for INCLUDE_RE, EXCLUDE_RE if entries could
not be added that are already there and it entries could not be removed
that are not there.
All other issues like invalid attributes etc. are handled as exceptions.
Therefore the error section is not here as in other modules.
Fixes RHBZ#1979626
2021-07-08 21:41:09 +02:00
Rafael Guterres Jeffman
690c827208
ipasudorule: Fix documentation attribute.
...
Change, in the module documentation, the attribute named 'usergroup'
to 'group', as it is used in the code.
2021-07-08 14:13:16 -03:00
Rafael Guterres Jeffman
35a381b17d
tests: Remove ignore_errors from pwpolicy tests.
...
Instead of ignoring errors it is better that we specific evaluate
errors provided by negative tests. This patche removes the an
occurrence of 'ignore_errors: true' in ansible-freeipa tests.
2021-07-08 14:05:08 -03:00
Rafael Guterres Jeffman
32f4e08397
Merge pull request #584 from t-woerner/fix_automember_action_name
...
automember: Fix action to be automember or member, not service
2021-07-08 10:07:01 -03:00
Rafael Guterres Jeffman
5302dda05a
Merge pull request #583 from t-woerner/fix_automember_invalid_in_exclusive_parameters
...
automember: Fail on wrong in/ex/clusive parameter names
2021-07-08 10:06:41 -03:00
Thomas Woerner
2a660e7365
automember: Fail on wrong in/ex/clusive parameter names
...
The parameters in the inclusive and exclusive dicts are not defined and
also not checked. Therefore it is possible to have parameters in the
dicts that are not used.
The dicts for the inclusive and exclusive parameters are now defined and
also added to the description.
2021-07-06 14:09:57 +02:00
Thomas Woerner
fadb62dc81
automember: Fix action to be automember or member, not service
...
The action is service and member for the module, but it needs to be the
module name and member.
2021-07-06 14:09:20 +02:00
Rafael Guterres Jeffman
c75b0292a1
Merge pull request #574 from t-woerner/galaxy_fix_requirements
...
galaxy.yml: Drop empty dependencies
2021-06-16 08:38:57 -03:00
Thomas Woerner
9f8cafffc4
galaxy.yml: Drop empty dependencies
...
Ansible 2.11 does not like to have empty dependencies. It will fail to
install the collection with "'NoneType' object has no attribute 'items'"
error. The empty dependencies have been removed.
The requirements for ansible in requirements.txt have been removed also.
Fixes #571 (error installing freeipa-ansible_freeipa-0.3.6.tar.gz)
2021-06-16 12:28:25 +02:00
Varun Mylaraiah
dad7818ba7
Merge pull request #570 from t-woerner/ipabackup_get_backup_dir_module
...
ipabackup: Use module to get IPA_BACKUP_DIR from ipaplatform
2021-06-09 15:40:43 +05:30
Thomas Woerner
db208bd6c1
ipabackup: Use module to get IPA_BACKUP_DIR from ipaplatform
...
Up to now a python snippet was used to get IPA_BACKUP_DIR from ipaplatform
but this was not working when ansible_facts was false due to not getting
ansible_python_interpreter set.
The module version is also working if gather_facts is turned off.
2021-06-09 11:07:58 +02:00
Rafael Guterres Jeffman
a42a2d4389
ipaserver: Fix display of ipaserver_forward_policy in README.
2021-06-04 17:36:39 -03:00
Rafael Guterres Jeffman
3882b7364b
ipaserver: Better display or README 'choice' variables.
2021-06-04 17:35:40 -03:00
Thomas Woerner
512df4370e
Merge pull request #564 from chr15p/typos-vault
...
more minor documentation fixes, in vault module
v0.3.6
2021-06-01 16:27:52 +02:00
Thomas Woerner
80e39c8479
Merge pull request #560 from rjeffman/ci_run_linters_in_parallel
...
ci: Run Github linter verification workflow in different jobs.
2021-05-27 17:49:47 +02:00
Rafael Guterres Jeffman
eae7f03748
ci: Run Github linter verification workflow in different jobs.
...
This patch modify Github 'lint' workflow to execute each linter
verifications as a separate job. This will allow us to easily see
which linter has failed, and ensure that all are executed, even
if one fails.
2021-05-27 10:08:31 -03:00
Rafael Guterres Jeffman
619194509b
Merge pull request #559 from t-woerner/group_no_ignored_errors
...
group: Reduce addition and deletion of members to changed only
2021-05-27 09:50:29 -03:00
Rafael Guterres Jeffman
84c0825521
Merge pull request #561 from t-woerner/hostgroup_reduce_member_changes
...
hostgroup: Reduce addition and deletion of members to changed only
2021-05-27 09:46:59 -03:00
chrisp
97f37fb3ec
fix minor documentation typos in vault module
2021-05-27 11:22:52 +01:00
Thomas Woerner
f007c5ca52
Merge pull request #486 from jake2184/master
...
Add automember module
2021-05-26 20:37:58 +02:00
Rafael Guterres Jeffman
1af889a2f1
Merge pull request #545 from t-woerner/tests_failed_when_and_result.failed
...
Fix and enhance tests
2021-05-26 14:21:12 -03:00
Mark Hahl
0e0bdf1f52
New automember management module
...
There is a new automember management module placed in the plugins folder:
plugins/modules/ipaautomember.py
The automember module allows to ensure presence or absence of automember rules
and manage automember rule conditions.
Here is the documentation for the module:
README-automember.md
New example playbooks have been added:
playbooks/automember/automember-group-absent.yml
playbooks/automember/automember-group-present.yml
playbooks/automember/automember-hostgroup-absent.yml
playbooks/automember/automember-hostgroup-present.yml
playbooks/automember/automember-hostgroup-rule-absent.yml
playbooks/automember/automember-hostgroup-rule-present.yml
New tests for the module:
tests/automember/test_automember.yml
2021-05-26 18:11:33 +01:00
Thomas Woerner
aaa48d2878
test_dnsrecord.yml: Fixed missing admin password
...
The task "Verify if modification worked" failed with PR #545 because the
ipaadmin_password was missing in the task.
2021-05-26 17:23:38 +02:00
Rafael Guterres Jeffman
c0b06d567c
test_dnsrecord.yml: Fix verification of SRV record modification.
...
Test task was missing zone and entry name.
2021-05-26 16:10:41 +02:00
Rafael Guterres Jeffman
7daa48895f
test_dnsrecord.yml: Rename tasks to better display test being executed.
2021-05-26 16:10:41 +02:00
Rafael Guterres Jeffman
b97156f235
tests/dnsrecord: Fix reverse zone prefix names.
...
Creation of reverse zone names were not using the pre-computed array,
and creation of the 8-bit network was wrong.
2021-05-26 16:10:41 +02:00
Thomas Woerner
dc8acbb797
test_dnsrecord.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
8be553d13f
test_vault_symmetric.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
2346824f9e
test_vault_standard.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
cfc54e559f
test_vault_asymmetric.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
84bf1a6533
tasks_vault_members.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
325c5bc3cf
test_users_invalid_cert.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
da3651b2bb
test_users.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
For the "Duplicate names in users failure test" failed_when: not
result.failed has been added as this test needs to fail.
2021-05-26 16:10:41 +02:00
Thomas Woerner
4aa78c6825
test_user_random.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
c73255880a
test_user.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
869eb2fbdc
test_users_certmapdata.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
dd0d02b765
test_user_certmapdata_issuer_subject.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
2ecd804447
test_user_certmapdata.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
b1edf574d7
test_users_certificate.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
e0defaaebe
test_user_certificate.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
Fixed also "User test cert members present again" task, it was failing
due to also having first and last parameters with action: member.
2021-05-26 16:10:41 +02:00
Thomas Woerner
ed146a4fcf
test_sudorule_categories.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
91cc8de6b1
test_sudorule.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
74e4e2da1a
test_sudocmdgroup.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00
Thomas Woerner
a26e38c880
test_sudocmd.yml: Use result.failed also for failed_when
...
For failed_when result.failed should be used to make sure that
the task fails if there was an error.
2021-05-26 16:10:41 +02:00