File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ - name : Kustomize ControlPlane for horizon service
3+ hosts : " {{ cifmw_target_hook_host | default('localhost') }}"
4+ gather_facts : false
5+ tasks :
6+ - name : Ensure the kustomizations dir exists
7+ ansible.builtin.file :
8+ path : " {{ cifmw_basedir }}/artifacts/manifests/kustomizations/controlplane"
9+ state : directory
10+ mode : " 0755"
11+
12+ - name : Create kustomize yaml to enable Horizon
13+ ansible.builtin.copy :
14+ dest : " {{ cifmw_basedir }}/artifacts/manifests/kustomizations/controlplane/80-horizon-kustomization.yaml"
15+ content : |-
16+ apiVersion: kustomize.config.k8s.io/v1beta1
17+ kind: Kustomization
18+ namespace: {{ namespace }}
19+ patches:
20+ - target:
21+ kind: OpenStackControlPlane
22+ patch: |-
23+ - op: add
24+ path: /spec/horizon/enabled
25+ value: true
26+ - op: add
27+ path: /spec/horizon/template/memcachedInstance
28+ value: memcached
Original file line number Diff line number Diff line change 1+ ---
2+ pre_deploy :
3+ - name : 80 Kustomize OpenStack CR
4+ type : playbook
5+ source : control_plane_horizon.yml
Original file line number Diff line number Diff line change 316316 vars :
317317 cifmw_extras :
318318 - ' @scenarios/centos-9/multinode-ci.yml'
319+ - ' @scenarios/centos-9/horizon.yml'
319320 run :
320321 - ci/playbooks/edpm/run.yml
321322
You can’t perform that action at this time.
0 commit comments