Add clusters.yml to setup

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:28 -04:00
parent 5e1475235f
commit b28dc5b700
2 changed files with 10 additions and 0 deletions

9
clusters.yml Normal file
View File

@ -0,0 +1,9 @@
---
# clusters.yml
# This file defines a list of Clusters that pvcbootstrapd should be aware of.
# This file is OPTIONAL unless you use pvcbootstrapd. It should contain, in the
# "clusters" list, all cluster names for which a "bootstrap.yml" is configured.
clusters:
# - cluster1
# - cluster2

View File

@ -30,6 +30,7 @@ ln -s ../pvc-ansible/roles/base roles/base
ln -s ../pvc-ansible/roles/pvc roles/pvc ln -s ../pvc-ansible/roles/pvc roles/pvc
ln -s files ceph ln -s files ceph
cp pvc-ansible/pvc.yml . cp pvc-ansible/pvc.yml .
cp pvc-ansible/clusters.yml .
touch hosts touch hosts
cat <<EOF >update-remote.sh cat <<EOF >update-remote.sh
#!/usr/bin/env bash #!/usr/bin/env bash