aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test-scalability.yml
blob: fefc86c7beff80839ba1e5e4782f80f31b0890d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
- name: Configure scalability (fixed instances and ranged flavors)
  hosts: localhost
  remote_user: root
  roles:
    - role: clever
      vars:
        clever_token: 123abc
        clever_secret: cba321
        clever_app: app_00000000-0000-0000-0000-000000000000
        clever_scaling:
          instances: { fixed: 1 }
          flavors: { min: "nano", max: "XS" }

- name: Configure scalability (no instances and ranged flavors)
  hosts: localhost
  remote_user: root
  roles:
    - role: clever
      vars:
        clever_token: 123abc
        clever_secret: cba321
        clever_app: app_00000000-0000-0000-0000-000000000000
        clever_scaling:
          flavors: { min: "nano", max: "XS" }

- name: Configure scalability (incomplete flavors)
  hosts: localhost
  remote_user: root
  roles:
    - role: clever
      vars:
        clever_token: 123abc
        clever_secret: cba321
        clever_app: app_00000000-0000-0000-0000-000000000000
        clever_scaling:
          flavors: { min: "nano" }