diff options
author | Clément Delafargue <39330590+clementd-fretlink@users.noreply.github.com> | 2020-06-22 14:53:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 14:53:42 +0200 |
commit | fcb00fd5cc86db70d122e126f52e24d0eba4af96 (patch) | |
tree | 93dee19980af622d21d08039aec2248e61bff186 /tests | |
parent | f39118d499132f017d7f2ec0944bf673b6deb7e9 (diff) | |
parent | 791d2dcbcb3d90ea66ce9b6b519eeb576f5f601b (diff) | |
download | ansible-clever-fcb00fd5cc86db70d122e126f52e24d0eba4af96.tar.gz ansible-clever-fcb00fd5cc86db70d122e126f52e24d0eba4af96.tar.zst ansible-clever-fcb00fd5cc86db70d122e126f52e24d0eba4af96.zip |
Merge pull request #67 from clementd-fretlink/scaling
scalability configuration
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-scalability.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/test-scalability.yml b/tests/test-scalability.yml new file mode 100644 index 0000000..fefc86c --- /dev/null +++ b/tests/test-scalability.yml | |||
@@ -0,0 +1,37 @@ | |||
1 | --- | ||
2 | - name: Configure scalability (fixed instances and ranged flavors) | ||
3 | hosts: localhost | ||
4 | remote_user: root | ||
5 | roles: | ||
6 | - role: clever | ||
7 | vars: | ||
8 | clever_token: 123abc | ||
9 | clever_secret: cba321 | ||
10 | clever_app: app_00000000-0000-0000-0000-000000000000 | ||
11 | clever_scaling: | ||
12 | instances: { fixed: 1 } | ||
13 | flavors: { min: "nano", max: "XS" } | ||
14 | |||
15 | - name: Configure scalability (no instances and ranged flavors) | ||
16 | hosts: localhost | ||
17 | remote_user: root | ||
18 | roles: | ||
19 | - role: clever | ||
20 | vars: | ||
21 | clever_token: 123abc | ||
22 | clever_secret: cba321 | ||
23 | clever_app: app_00000000-0000-0000-0000-000000000000 | ||
24 | clever_scaling: | ||
25 | flavors: { min: "nano", max: "XS" } | ||
26 | |||
27 | - name: Configure scalability (incomplete flavors) | ||
28 | hosts: localhost | ||
29 | remote_user: root | ||
30 | roles: | ||
31 | - role: clever | ||
32 | vars: | ||
33 | clever_token: 123abc | ||
34 | clever_secret: cba321 | ||
35 | clever_app: app_00000000-0000-0000-0000-000000000000 | ||
36 | clever_scaling: | ||
37 | flavors: { min: "nano" } | ||