- Jun 25, 2019
-
-
Thomas Woerner authored
Some settings for kra have not been correct for kra with the change to use single Custodia instance in the installer (freeipa 994f71ac8). These modules have been adapted: ipareplica_custodia_import_dm_password ipareplica_enable_ipa ipareplica_setup_ca ipareplica_setup_custodia ipareplica_setup_kra
-
- Jun 21, 2019
-
-
Thomas Woerner authored
This is related to freeipa#0f31564b35aac250456233f98730811560eda664 During ipa-replica-install, http installation first creates a service principal for http/hostname (locally on the soon-to-be-replica), then waits for this entry to be replicated on the master picked for the install. In a later step, the installer requests a certificate for HTTPd. The local certmonger first tries the master defined in xmlrpc_uri (which is pointing to the soon-to-be-replica), but fails because the service is not up yet. Then certmonger tries to find a master by using the DNS and looking for a ldap service. This step can pick a different master, where the principal entry has not always be replicated yet. As the certificate request adds the principal if it does not exist, we can end by re-creating the principal and have a replication conflict. The replication conflict later causes kerberos issues, preventing from installing a new replica. The proposed fix forces xmlrpc_uri to point to the same master as the one picked for the installation, in order to make sure that the master already contains the principal entry. https://pagure.io/freeipa/issue/7041
-
Thomas Woerner authored
This has not been done so far in the ansible_ipa_client, but only in the modules where it was really needed. But as these places are getting more with 4.7.90, this setting makes it into the module_utils.
-
- Jun 17, 2019
-
-
Thomas Woerner authored
command has been used instead of commands. command is not defined.
-
Thomas Woerner authored
-
Thomas Woerner authored
-
Thomas Woerner authored
It is now possible to use domain+ca as suffix, That means that the segment will be handled for the suffixes domain and also ca. The new state checked is returning two lists found and not-found. If a segment exists, the ckecked suffix is added to the found list. If a segment from suffix is not found, it is added to the not-found list. New example playbooks have been added: playbooks/topology/add-topologysegments.yml playbooks/topology/check-topologysegments.yml playbooks/topology/delete-topologysegments.yml The cluster playbook has been extended by the
-
Thomas Woerner authored
To make sure that there will be no issue with undefined output from ipareplica_test, the default(omit) has been added.
-
Thomas Woerner authored
The variable has been ignored and was not used. The servers are now properly set from ipareplica_servers now.
-
Thomas Woerner authored
The module ipareplica_master_password has been a copy from ipaserver role and still contained code to read the cache file. This is not needed for the replica. Therefore there is no need also to provide the dm password to ipareplica_master_password any more.
-
Thomas Woerner authored
Fixes #17 Improve how tasks manage package installation
-
Thomas Woerner authored
Currently the error message of ipaclient_get_otp is not visble if it failed due to the use of no_log. The no_log option is needed and useful if the one-time password has successfully been generated, but is bad if there was an error while generating the password, for example if a clock skew has been detected. There is now a new task to print the error message if ipaclient_get_otp. The task for ipaclient_get_otp has been marked with "ignore_errors: yes" and the new task "Install - Report error for OTP generation" will always fail and only be used if result_ipaclient_get_otp is failed.
-
Thomas Woerner authored
The check for the ipaadmin_keytab was not using "is defined". Because of this the playbook processing failed if the variable was not defined.
-
Thomas Woerner authored
-
Thomas Woerner authored
-
- Jun 14, 2019
-
-
Thomas Woerner authored
Fixes #87 (ipareplica README seems to have incorrect info)
-
Thomas Woerner authored
-
Thomas Woerner authored
-
Thomas Woerner authored
-
Thomas Woerner authored
-
Thomas Woerner authored
-
Thomas Woerner authored
This is for example the case if ipaadmin_keytab is used instead without ipaclient_use_otp.
-
Thomas Woerner authored
ipaadmin_keytab has been supported only with with ipaclient_use_otp. But it can also be used without for ipa-join. Important is that ipaadmin_keytab needs to be placed on the cliend node and ipaadmin_keytab needs to be a full path. Otherwise the file will not be found.
-
Thomas Woerner authored
Password and keytab do not need to be set explicitely to an empty string when they are not set. Also there is no need to have string length checks in the role tasks.
-
- Jun 12, 2019
-
-
Thomas Woerner authored
With the deactivation of the Python2/3 test the handling of ansible_python_interpreter needs to be removed as the setting might not exist and is not changed in with the Python2/3 test any more.
-
Thomas Woerner authored
This is a remain of the Python2 version and has been fixed. Fixed: #86 (AttributeError: 'str' object has no attribute 'decode')
-
- Jun 07, 2019
-
-
Thomas Woerner authored
The code for host_name, the domain_name and also the realm_name has been adapted to the code in the command line installer. The _hostname_overridden setting is now only true if the hostname has been changed.
-
Thomas Woerner authored
The install checks have been done temporarily in _test and finally also in _prepare. This is not needed and also not done this way in the command line installers.
-
Thomas Woerner authored
This makes AnsibleModuleLog compatible to the version in ipareplica role.
-
Thomas Woerner authored
The addtion is not oly adding the config setting, but also fixing the deployment without the setting as functions and methods have been changed for pki_config_override. There is a new setting for the ipaserver role: ipaserver_pki_config_override
-
Thomas Woerner authored
tasks.restore_context is only used in old releases. The existence of paths.CACHE_IPA_SESSIONS is used to determine if the call needs to be done or not.
-
Thomas Woerner authored
The section is not used since a long time any more and can therefore be removed.
-
Thomas Woerner authored
Run validate_hostname to check for valid host name if constants.MAXHOSTNAMELEN is defined. The call has not been used in older FreeIPA versions.
-
- Jun 05, 2019
-
-
Thomas Woerner authored
ansible-freeipa is a new Ansible Collection introduced with Ansible 2.8 and Ansible Galaxy 3.2.
-
Thomas Woerner authored
Dashes in names are not allowed in Galaxy and are automatically replaced by underscores. Therefore the name in Galaxy is ansible_freeipa.
-
Thomas Woerner authored
There are now two topology management modules placed in the plugins folder: plugins/modules/ipatopologysegment.py plugins/modules/ipatopologysuffix.py Topology segments can be added, removed and reinitialized with the ipatopologysegment module. Also it is possible to verify topology suffixes with the ipatopologysuffix module. A new module_utils for plugins has been added: plugins/module_utils/ansible_freeipa_module.py And documentation for the modules: README-topology.md New sample playbooks are available in playbooks/topology: playbooks/topology/add-topologysegment.yml playbooks/topology/delete-topologysegment.yml playbooks/topology/reinitialize-topologysegment.yml playbooks/topology/verify-topologysuffix.yml The plugins folder can be used with the new Ansible Collections supported by Ansible 2.8 and Ansible galaxy 3.2.
-
Thomas Woerner authored
This will result in a better role documentation on galaxy.
-
Thomas Woerner authored
The playbooks install-client.yml, install-cluster.yml, install-replica.yml, install-server.yml, uninstall-client.yml, uninstall-cluster.yml, uninstall-replica.yml and uninstall-server.yml have been moved into the playbooks folder.
-
- Jun 04, 2019
-
-
David Sastre Medina authored
The use of squash_actions to invoke a package module, such as “yum”, to only invoke the module once is deprecated, and will be removed in Ansible 2.11. Instead of relying on implicit squashing, tasks should instead supply the list directly to the name, pkg or package parameter of the module. See [1] for a reference to the upstream documentation. The ipa-krb5 and ipa-sssd modules include *_packages variables in both defaults/ and vars/, additionally, the list of packages in ipa-sssd differs from one to the other. Unify list of packages into vars/ [1]: https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.7.html#using-a-loop-on-a-package-module-via-squash-actions
-