- Dec 16, 2020
-
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
This commit change the name of a variable to make it more clear that it is not required in the for-loop, removing a bugbear B007 warning.
-
Rafael Guterres Jeffman authored
Running flake8 with bugbear enable found an extra for-loop that is not needed. The for-loop was removed, fixing bubear's warning.
-
- Dec 10, 2020
-
-
Thomas Woerner authored
covscan error[SC2068]: Fix unquoted array expansions.
-
- Dec 09, 2020
-
-
Rafael Guterres Jeffman authored
utils/gen_modules_docs.sh: Fix covscan findings
-
Rafael Guterres Jeffman authored
error[SC2068]: Double quote array expansions to avoid re-splitting elements.
-
Rafael Guterres Jeffman authored
utils/new_module: Fix covscan findings
-
Rafael Guterres Jeffman authored
utils/build-galaxy-release.sh: Fix covscan findings
-
Thomas Woerner authored
error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang.
-
Thomas Woerner authored
warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
-
Thomas Woerner authored
warning[SC2044]: For loops over find output are fragile. Use find -exec or a while read loop. warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
-
- Dec 08, 2020
-
-
Thomas Woerner authored
yamllint: Run yaml linter only on modified files in pre-commit.
-
- Dec 02, 2020
-
-
Thomas Woerner authored
ipabackup: Fix undefined vars for conditions in shell tasks without else
-
- Dec 01, 2020
-
-
Thomas Woerner authored
The use of conditions in shell tasks without else clause is failing on some systems with an undefined variable error.
-
- Nov 30, 2020
-
-
Rafael Guterres Jeffman authored
utils/build-galaxy-release.sh: Fix default namespace and collection name
-
Rafael Guterres Jeffman authored
utils/changelog: Fix get_commit to use proper variable
-
Thomas Woerner authored
The default namespace and collection name was not set due to using ":" instead of "-" while setting the variables internally.
-
Thomas Woerner authored
The function get_commit was using the global merge variable instead of the local commit variable. Therefore it returned the wrong commit subject for merges without subject.
-
- Nov 27, 2020
-
-
Rafael Guterres Jeffman authored
ipareplica: Fix no_dnssec_validation handling in prepare and setup_dns
-
Thomas Woerner authored
The parameter options.no_dnssec_validation was set using a bad parameter name. This lead to not beeing able to turn off dnssec validation in the replica deployment. Fixes: #456 (ipareplica_no_dnssec_validation)
-
Rafael Guterres Jeffman authored
With the parameter `args: ['.']`, yamllint would run over every file during pre-commit, including those not being commited, and it would allow for false negatives, not allowing a commit, even if commited yaml files had no issues, but another file, not par of the commit, had. By changing the yamllint parameter to `files: \.(yaml|yml)$` it will only check files being commited, preventing false negatives, and allowing for faster commits.
-
- Nov 26, 2020
-
-
Thomas Woerner authored
Fix ipahost module when adding hosts to a server without DNS support.
-
Thomas Woerner authored
ipasudocmdgroup: Fix creation of sudocmdgroups with sudocmds.
-
- Nov 25, 2020
-
-
Rafael Guterres Jeffman authored
ipa[server,replica]: Support memory check from command line installers
-
Rafael Guterres Jeffman authored
Remove an unused attribute that has no parallel in IPA API.
-
Rafael Guterres Jeffman authored
This PR fixes the creation of sudocmdgroups when the sudocmds are specified, allowing groups to be created with sudocmd members in a single task. Fix issue #440.
-
Rafael Guterres Jeffman authored
ipareplica README.md: Fix typo, add hidden replica parameter
-
Rafael Guterres Jeffman authored
ansible-doc-test: Ignore unhandled paths
-
Thomas Woerner authored
Currently the script is failing with The given path '...' is not valid if a path is not handled by the script. This is resulting in issues if module_utils and action plugins are updated for example. The solution is to simply ignore paths that are not handled.
-
Thomas Woerner authored
There was a typo in the README and also the ipareplica_hidden_replica parameter was missing.
-
Thomas Woerner authored
The common_check function in the replica installer code has been changed for the new memory checker code. With this the server and replica command line installers got the option --skip-mem-check. The server and replica role now also support the memory cheker and there are new variables for server and replica: ipaserver_mem_check - for ipaserver ipareplica_mem_check - for ipaserver These bool values default to yes and can be turned off in the inventory or playbook if needed. Related to freeipa PR https://pagure.io/freeipa/issue/8404 (Detect and fail if not enough memory is available for installation) Fixes: #450 (IPA Replica Installation Fails)
-
- Nov 24, 2020
-
-
Rafael Guterres Jeffman authored
Altough configuring DNS and KRA support on the testing server node provides broad coverage support, it does not represent all scenarios where ansible-freeipa can be used, for example without DNS support. This documentation updates removes the requirement for DNS and KRA support, and highlights what is expected with different configurations.
-
Rafael Guterres Jeffman authored
When using ipahost module with servers where DNS was not configured it failed to add hosts due to an exception raised on `dnsrecord_show` that was not being correctly handled. As the exception was being handled twice, the This patch simply removes one of the handlers, allowing the exception to propagate to the caller, where it is handled. Fixes issue #434.
-
- Nov 23, 2020
-
-
Thomas Woerner authored
Add CONTRIBUTING.md file.
-
Rafael Guterres Jeffman authored
This PR adds a document with information on how to contribute to ansible-freeipa development, showing the environment configuration, available tools, and some guidelines that should be followed.
-
Varun Mylaraiah authored
ipadnsforwardzone: Fix documentation for `forwarders` usage.
-
Thomas Woerner authored
Add pre-commit configuration for linters.
-
Varun Mylaraiah authored
ipadnszone: Fix modification o SOA serial with other attributes.
-
Varun Mylaraiah authored
ipadnsrecord: fix record update when multiple records exist.
-
- Nov 21, 2020
-
-
Rafael Guterres Jeffman authored
There was a failure when NAPTR or DLV records where updated, if the record name had multiple entries. This patch fixes this behavior, by using the requested record, not the retrieved one. Tests have been updated to test for this issue on tests/dnsrecord/test_dnsrecord.yml
-