summaryrefslogtreecommitdiffstats
path: root/roles/ands_vagrant_vm/README
blob: 1c271b4a89fd89dbbdcf465b30729cf5f696f77f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Dependencies:
 - Executed on a single virtualization node
 - The node should have vagrant configured
 
Parameters:
 - vagrant_hostname_template                            - The name prefix of generated hosts. I.e. if 'ipekatrin' is specified, the ipekatrin1, ipekatrin2, ... nodes will be produced
 - vagrant_project                                      - The vagrant project name, just specifies a subdirectory with virtual machines to allow parallel execution of VMs for testing and staging setups
 - vagrant_projects_dir                                 - Location of all vagrant projects
 - vagrant_project_dir                                  - Location of this specific vagrant project, normally is vagrant_projects_dir/vagrant_project
 - vagrant_hosts                                        - Number of VMs to generate, defaults to number of configured ands_servers (i.e. OpenShift nodes currently)
 - vagrant_cpu_cores                                    - Number of CPU cores for each VM
 - vagrant_mem_size                                     - Memory per VM in GB
 - vagrant_disk_size                                    - Data disk size per VM in GB

Facts:


Actions:
 - Creates and starts VMs


ToDo:
 - We need to install a couple of vagrant plugins (requires vbox 5.2)
    vagrant plugin install vagrant-disksize