Skip to content

Commit f55c471

Browse files
committed
add home and project manila config for caas
1 parent 4e25378 commit f55c471

File tree

1 file changed

+14
-7
lines changed
  • environments/.caas/inventory/group_vars/all

1 file changed

+14
-7
lines changed
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
caas_manila_home:
2-
- share_name: azimuth-platform-share-test # TODO: remove test!
3-
mount_path: /home
4-
mount_user: root
5-
mount_group: root
6-
mount_mode: u=rwX,go=rX
2+
share_name: "{{ cluster_name }}-home"
3+
mount_path: /home
4+
mount_user: root
5+
mount_group: root
6+
mount_mode: u=rwX,go=rX
77

8-
# home_manila_share set by platform UI:
9-
os_manila_mount_shares: "{{ caas_manila_home if home_manila_share | bool else [] }}"
8+
cluster_project_manila_share_name: azimuth-project-share
9+
caas_manila_project:
10+
share_name: "{{ cluster_project_manila_share_name }}"
11+
mount_path: /project
12+
mount_user: root
13+
mount_group: root
14+
mount_mode: ugo=rwX
15+
16+
os_manila_mount_shares: "{{ ([caas_manila_home] if cluster_home_manila_share | bool else []) + ([caas_manila_project] if cluster_project_manila_share | bool else []) }}""

0 commit comments

Comments
 (0)