mirror of https://github.com/ceph/ceph-ansible.git
Vagrantfile: support CEPH_*_SUBNET env vars
support passing `CEPH_PUBLIC_SUBNET` and `CEPH_CLUSTER_SUBNET` environment variables. Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>pull/7488/head
parent
7a9f871d49
commit
90bd6650d0
|
@ -28,6 +28,8 @@ NISCSI_GWS = settings['iscsi_gw_vms']
|
|||
MGRS = settings['mgr_vms']
|
||||
PUBLIC_SUBNET = settings['public_subnet']
|
||||
CLUSTER_SUBNET = settings['cluster_subnet']
|
||||
PUBLIC_SUBNET = ENV['CEPH_PUBLIC_SUBNET'] || settings['public_subnet']
|
||||
CLUSTER_SUBNET = ENV['CEPH_CLUSTER_SUBNET'] || settings['cluster_subnet']
|
||||
BOX = ENV['CEPH_ANSIBLE_VAGRANT_BOX'] || settings['vagrant_box']
|
||||
CLIENT_BOX = ENV['CEPH_ANSIBLE_VAGRANT_BOX'] || settings['client_vagrant_box'] || BOX
|
||||
BOX_URL = ENV['CEPH_ANSIBLE_VAGRANT_BOX_URL'] || settings['vagrant_box_url']
|
||||
|
|
Loading…
Reference in New Issue