]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
dashboard: subj_alt_names fact refactor
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 5 Aug 2021 13:00:49 +0000 (15:00 +0200)
committerDimitri Savineau <dsavinea@redhat.com>
Mon, 9 Aug 2021 19:17:09 +0000 (15:17 -0400)
commit5746044aa4743fdfd2de6cacead868c72fc36925
tree7a2fdc1b1cb26588d1d2fb5d2626be8da0af9049
parent91834f6c9f86214a87a71cae1e3dd9d267b0d7a7
dashboard: subj_alt_names fact refactor

the current way the variable is built results in:

```
2021-08-03 04:18:23,020 - ceph.ceph - INFO - ok: [ceph-sangadi-4x-indpt6-node1-installer] => changed=false
  ansible_facts:
    subj_alt_names: |-
      subjectAltName=ceph-sangadi-4x-indpt6-node1-installer/subjectAltName=10.0.210.223/subjectAltName=ceph-sangadi-4x-indpt6-node1-installersubjectAltName=ceph-sangadi-4x-indpt6-node2/subjectAltName=10.0.210.252/subjectAltName=ceph-sangadi-4x-indpt6-node2/
```

which is incorrect.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1978869
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 6f1a0634f73ad1f41af613a9452dc9c5f70b2702)
roles/ceph-dashboard/tasks/configure_dashboard.yml