Bug 1733547
Summary: | [ansible-freeipa] Last suffix adding twice in the list of topology segments | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Varun Mylaraiah <mvarun> |
Component: | ansible-freeipa | Assignee: | Thomas Woerner <twoerner> |
Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | ||
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ansible-freeipa-0.1.6-3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-05 21:08:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Varun Mylaraiah
2019-07-26 13:33:12 UTC
Here is the upstream fix: https://github.com/freeipa/ansible-freeipa/commit/f786658606fca1a3d8077015b39b09ba7a7559b3 Verified ansible-freeipa-0.1.6-3.el8.noarch # cat add-topologysegments.yml --- - name: Add topology segments hosts: ipaserver become: true gather_facts: false vars: ipatopology_segments: - {suffix: domain+ca, left: ipareplica1.test.local, right: ipareplica2.test.local} tasks: - name: Add topology segment ipatopologysegment: ipaadmin_password: <xxxxxxxxxx> suffix: "{{ item.suffix }}" name: "{{ item.name | default(omit) }}" left: "{{ item.left }}" right: "{{ item.right }}" state: present loop: "{{ ipatopology_segments | default([]) }}" # ansible-playbook -vv -i inventory/hosts.topologysegment add-topologysegments.yml ansible-playbook 2.8.3 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.6/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.6.8 (default, Jul 3 2019, 10:59:07) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)] No config file found; using defaults PLAYBOOK: add-topologysegments.yml ********************************************************************************** 1 plays in add-topologysegments.yml PLAY [Add topology segments] **************************************************************************************** META: ran handlers TASK [Add topology segment] ***************************************************************************************** task path: /root/add-topologysegments.yml:12 changed: [ipaserver.test.local] => (item={'suffix': 'domain+ca', 'left': 'ipareplica1.test.local', 'right': 'ipareplica2.test.local'}) => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "ansible_loop_var": "item", "changed": true, "item": {"left": "ipareplica1.test.local", "right": "ipareplica2.test.local", "suffix": "domain+ca"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************************************************** ipaserver.test.local : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ========== On Server ========== [root@kvm-02-guest22 ~]# ipa topologysegment-show domain ipareplica1.test.local-to-ipareplica2.test.local Segment name: ipareplica1.test.local-to-ipareplica2.test.local Left node: ipareplica1.test.local Right node: ipareplica2.test.local Connectivity: both [root@kvm-02-guest22 ~]# ipa topologysegment-show ca ipareplica1.test.local-to-ipareplica2.test.local Segment name: ipareplica1.test.local-to-ipareplica2.test.local Left node: ipareplica1.test.local Right node: ipareplica2.test.local Connectivity: both Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3418 |