Skip to content

Commit f831edd

Browse files
committed
Invert cloud names
The non-privileged cloud is the more useful one and should be shorter. Reverse the names. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1 parent 01cb86f commit f831edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbooks/local_os_client.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@
9797

9898
- name: Merge standalone from remote clouds.yaml into local clouds.yaml entry {{ local_cloudname }}
9999
ansible.builtin.set_fact:
100-
cloudsyaml: "{{ cloudsyaml | combine({'clouds': {local_cloudname: standalone}}, recursive=true) }}"
100+
cloudsyaml: "{{ cloudsyaml | combine({'clouds': {local_cloudname + '-admin': standalone}}, recursive=true) }}"
101101
vars:
102102
standalone: "{{ hostvars['standalone']['cloudsyaml']['clouds']['standalone'] | combine(set_cacert) }}"
103103
when: "'standalone' in hostvars['standalone']['cloudsyaml']['clouds']"
104104

105105
- name: Merge openshift from remote clouds.yaml into local clouds.yaml entry {{ local_cloudname }}
106106
ansible.builtin.set_fact:
107-
cloudsyaml: "{{ cloudsyaml | combine({'clouds': {local_cloudname + '_openshift': openshift}}, set_cacert, recursive=true) }}"
107+
cloudsyaml: "{{ cloudsyaml | combine({'clouds': {local_cloudname: openshift}}, set_cacert, recursive=true) }}"
108108
vars:
109109
openshift: "{{ hostvars['standalone']['cloudsyaml']['clouds']['openshift'] | combine(set_cacert) }}"
110110
when: "'openshift' in hostvars['standalone']['cloudsyaml']['clouds']"

0 commit comments

Comments
 (0)