|
8 | 8 | loop:
|
9 | 9 | - "{{ hv_vm_manifests_directory }}/"
|
10 | 10 | - "{{ hv_vm_manifests_directory }}/standard"
|
11 |
| - - "{{ hv_vm_manifests_directory }}/standard/manifests" |
12 |
| - - "{{ hv_vm_manifests_directory }}/standard/siteconfigs" |
| 11 | + - "{{ hv_vm_manifests_directory }}/standard/ai-siteconfig" |
| 12 | + - "{{ hv_vm_manifests_directory }}/standard/ai-manifest" |
13 | 13 |
|
14 | 14 | - name: Obtain pull-secret for bastion registry
|
15 | 15 | slurp:
|
|
22 | 22 | pull_secret: "{{ slurped_pull_secret.content }}"
|
23 | 23 | when: use_bastion_registry
|
24 | 24 |
|
25 |
| -- name: Fast create directory for each cluster |
26 |
| - shell: | |
27 |
| - {% for item in (range(1, standard_cluster_count + 1, 1) | list) %} |
28 |
| - mkdir -p {{ hv_vm_manifests_directory }}/standard/manifests/standard-{{ '%05d' | format(item) }} |
29 |
| - {% endfor %} |
30 |
| -
|
31 | 25 | - name: Template complete manifests per cluster
|
32 | 26 | template:
|
33 | 27 | src: manifest.yml.j2
|
34 |
| - dest: "{{ hv_vm_manifests_directory }}/standard/manifests/standard-{{ '%05d' | format(item) }}/manifest.yml" |
| 28 | + dest: "{{ hv_vm_manifests_directory }}/standard/ai-manifest/standard-{{ '%05d' | format(item) }}-manifest.yml" |
35 | 29 | loop: "{{ range(1, standard_cluster_count + 1, 1) | list }}"
|
36 | 30 |
|
37 | 31 | - name: Template acm managedcluster manifests per cluster
|
38 | 32 | template:
|
39 | 33 | src: managedcluster.yml.j2
|
40 |
| - dest: "{{ hv_vm_manifests_directory }}/standard/manifests/standard-{{ '%05d' | format(item) }}/managedcluster.yml" |
| 34 | + dest: "{{ hv_vm_manifests_directory }}/standard/ai-manifest/standard-{{ '%05d' | format(item) }}-managedcluster.yml" |
41 | 35 | loop: "{{ range(1, standard_cluster_count + 1, 1) | list }}"
|
42 | 36 |
|
43 | 37 | - name: Template a siteconfig per cluster
|
44 | 38 | template:
|
45 | 39 | src: siteconfig.yml.j2
|
46 |
| - dest: "{{ hv_vm_manifests_directory }}/standard/siteconfigs/standard-{{ '%05d' | format(item) }}-siteconfig.yml" |
| 40 | + dest: "{{ hv_vm_manifests_directory }}/standard/ai-siteconfig/standard-{{ '%05d' | format(item) }}-siteconfig.yml" |
47 | 41 | loop: "{{ range(1, standard_cluster_count + 1, 1) | list }}"
|
48 | 42 |
|
49 | 43 | - name: Template a siteconfig-resources per cluster
|
50 | 44 | template:
|
51 | 45 | src: siteconfig-resources.yml.j2
|
52 |
| - dest: "{{ hv_vm_manifests_directory }}/standard/siteconfigs/standard-{{ '%05d' | format(item) }}-resources.yml" |
| 46 | + dest: "{{ hv_vm_manifests_directory }}/standard/ai-siteconfig/standard-{{ '%05d' | format(item) }}-resources.yml" |
53 | 47 | loop: "{{ range(1, standard_cluster_count + 1, 1) | list }}"
|
0 commit comments