Add clusters.yml to setup

This commit is contained in:
Joshua Boniface 2022-01-01 05:06:13 -05:00
parent 593b1efe6c
commit 88764c44b2
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 files ceph
cp pvc-ansible/pvc.yml .
cp pvc-ansible/clusters.yml .
touch hosts
cat <<EOF >update-remote.sh
#!/usr/bin/env bash