- Sep 04, 2020
-
-
Rafael Guterres Jeffman authored
When retrieving data from a vault using `out` to store the data in a file resulted is random characters being returned and logged. These characters could generate a traceback print from Ansible's logger, without breaking the script. The reason for that is that the result from `vault_retrive` was being processed when it was not needed, and data was beeing returned, when it shouldn't. This patch fixes this behavior by supressing the return data when `data` is not available, and only raising an error if it should be available.
-
- Sep 03, 2020
-
-
Thomas Woerner authored
Add missing example playbooks for dnsforwardzone module.
-
- Sep 02, 2020
-
-
Sergio Oliveira authored
Add support for ansible-lint and yamllint as Github actions.
-
Rafael Guterres Jeffman authored
The scprit `lint_check.sh` under utils runs the same linters as the Github Actions, with the same configuration. The changes on setup.cfg are required if flake8-docstrings is used, so its output is the same as pydocstlye.
-
Rafael Guterres Jeffman authored
This patch disables execution of Python lintes on Azure pipelines, as they are now executed through Github Actions.
-
Rafael Guterres Jeffman authored
Flake8 and Pydocstyle were already being used as checks on Azure pipelines, and this change enable the use of both as Github actions run on every push (on any fork) end every pull-request. I uses `rjeffman/python-lint-action` to run both linters using the project's configuration.
-
Rafael Guterres Jeffman authored
Ansible best practice is to not use `latest` for the `package` module state. As we want to use it in the case of nss, this change will disable checking for this case.
-
Rafael Guterres Jeffman authored
By running yamllint we add one more verification of quality to the playbooks used on/provided by ansible-freeipa, that will be executed on every push (even on forks) or pull-requests. This patch provides the configuration needed to run yamllint on the playbooks found in the `tests`, `playbooks` and `molecule` directories, on every push or pull-request done on Github, using ibiqlik/action-yamllint action version `v1`. The current configuration for yamllint has many rules disable, so the problems found can be fixed later. All rules after the comment `# Disabled rules` should be enabled in the near future.
-
- Sep 01, 2020
-
-
Rafael Guterres Jeffman authored
By running ansible-lint we check if playbooks provided in ansible-freipa follow Ansible's best practices, nd the verification will be performed on every push (even on forks) or pull-request. This patch provides the configuration needed to run ansible-lint to the playbooks found in the `tests`, `playbooks` and `molecule` directories, on every push or pull-request done on Github, using Ansible's Github Action ansible/ansible-lint-action.
-
Rafael Guterres Jeffman authored
The host's module example playbooks had syntax errors that prevented its execution. The tasks were described as dicts rather than lists.
-
Josh authored
Fix indentation in example usage of name_from_ip
-
Sergio Oliveira authored
Fix host's module managedby_host playbooks.
-
Sergio Oliveira authored
Update README-dnszone.md
-
Josh authored
Fix indentation in example usage of name_from_ip
-
- Aug 31, 2020
-
-
Sergio Oliveira authored
Added ability to add pytest tests
-
Sergio Oliveira Campos authored
Until now ansible-freeipa repository only had playbook tests. This commit introduces the ability of creating TestCase classes connected to the master host. This connection can be used to run commands in the managed host after the ansible playbook execution is the allowing the verification of the machine state.
-
- Aug 28, 2020
-
-
Rafael Guterres Jeffman authored
The host's module example playbooks had syntax errors that prevented its execution. The tasks were described as dicts rather than lists.
-
Sergio Oliveira authored
Add commonly used virtual environment paths to gitignore.
-
- Aug 27, 2020
-
-
Rafael Guterres Jeffman authored
When using virtual environment for development, Git reports that the virtual environment itself in untracked. This change add commonly found virtual environment directories to the list of ignored files/directories.
-
Sergio Oliveira authored
Add support for running pytest tests with ssh password.
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
Added comments to molecule prepare playbooks.
-
Rafael Guterres Jeffman authored
Currently, running pytest requires that ssh uses key exchange. These change allows the use of ssh with password to connect to the host.
-
- Aug 26, 2020
-
-
Sergio Oliveira authored
Fix domain not being passed for configuring firefox
-
Rafael Guterres Jeffman authored
tests/user/test_users*.yml: Use extended dynamic users.json
-
uumas authored
-
Sergio Oliveira authored
Fix invalid return value from vault module in README.md.
-
- Aug 25, 2020
-
-
uumas authored
-
- Aug 24, 2020
-
-
Sergio Oliveira authored
Fixed note about specific IPA version for attributes.
-
Sergio Oliveira authored
Fix invalid forwarder list due to not using Unicode text.
-
Sergio Oliveira authored
Fix tests that require specific IPA versions.
-
Sergio Oliveira authored
Fix ipavault vault_type under Python 2.7
-
Rafael Guterres Jeffman authored
Adding auto COPR builds
-
Rafael Guterres Jeffman authored
There was a duplicate table for the return values in the vault module, the invalid one was removed.
-
Francisco Trivino authored
This commit adds .copr/Makefile that calls the executable script (build-srpm.sh) to be used for COPR SRPM generation.
-
- Aug 23, 2020
-
-
Rafael Guterres Jeffman authored
The ipagroup attribute `membermanager` requires the use of IPA version 4.8.4 or later. This change ensure that the tests are executed only if a required version is found.
-
Rafael Guterres Jeffman authored
Test to verify IPA version before testing ipaservice with attribute skip_host_check was inverted, and tests failed. This change fixes it.
-
Rafael Guterres Jeffman authored
The config attributte maxhostname is only available after IPA version 4.8.0. The tests for this attribute are now protected to not run if a previous IPA version is found.
-
Rafael Guterres Jeffman authored
When running module ipavault with Python 2.7, due to differences in the handling of unicode string than in Python 3, the vault_type type was different than the required. This patch changes the default value to force a unicode string in the supported versions of Python, fixing the module when Python 2 is used.
-
Rafael Guterres Jeffman authored
When using ipadnsfowardzone with a target host that uses Python 2, it fails to add new zones due to unicode and str being different on that version. This patch fixes this behavior ensuring the module works on both Python verisons 2.7 and 3.x.
-