mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-03 11:23:03 +02:00
added missing environment variables
This commit is contained in:
parent
c53172cb96
commit
c79c156a75
2 changed files with 7 additions and 8 deletions
|
@ -42,7 +42,7 @@ zone:
|
||||||
{
|
{
|
||||||
"allocationstate": "Enabled",
|
"allocationstate": "Enabled",
|
||||||
"dhcpprovider": "VirtualRouter",
|
"dhcpprovider": "VirtualRouter",
|
||||||
"id": "1128bd56-b4d9-4ac6-a7b9-c715b187ce11",
|
"id": "<id>",
|
||||||
"localstorageenabled": true,
|
"localstorageenabled": true,
|
||||||
"name": "ch-gva-2",
|
"name": "ch-gva-2",
|
||||||
"networktype": "Basic",
|
"networktype": "Basic",
|
||||||
|
@ -53,7 +53,7 @@ zone:
|
||||||
{
|
{
|
||||||
"allocationstate": "Enabled",
|
"allocationstate": "Enabled",
|
||||||
"dhcpprovider": "VirtualRouter",
|
"dhcpprovider": "VirtualRouter",
|
||||||
"id": "91e5e9e4-c9ed-4b76-bee4-427004b3baf9",
|
"id": "<id>",
|
||||||
"localstorageenabled": true,
|
"localstorageenabled": true,
|
||||||
"name": "ch-dk-2",
|
"name": "ch-dk-2",
|
||||||
"networktype": "Basic",
|
"networktype": "Basic",
|
||||||
|
@ -64,7 +64,7 @@ zone:
|
||||||
{
|
{
|
||||||
"allocationstate": "Enabled",
|
"allocationstate": "Enabled",
|
||||||
"dhcpprovider": "VirtualRouter",
|
"dhcpprovider": "VirtualRouter",
|
||||||
"id": "4da1b188-dcd6-4ff5-b7fd-bde984055548",
|
"id": "<id>",
|
||||||
"localstorageenabled": true,
|
"localstorageenabled": true,
|
||||||
"name": "at-vie-1",
|
"name": "at-vie-1",
|
||||||
"networktype": "Basic",
|
"networktype": "Basic",
|
||||||
|
@ -75,7 +75,7 @@ zone:
|
||||||
{
|
{
|
||||||
"allocationstate": "Enabled",
|
"allocationstate": "Enabled",
|
||||||
"dhcpprovider": "VirtualRouter",
|
"dhcpprovider": "VirtualRouter",
|
||||||
"id": "35eb7739-d19e-45f7-a581-4687c54d6d02",
|
"id": "<id>",
|
||||||
"localstorageenabled": true,
|
"localstorageenabled": true,
|
||||||
"name": "de-fra-1",
|
"name": "de-fra-1",
|
||||||
"networktype": "Basic",
|
"networktype": "Basic",
|
||||||
|
|
|
@ -17,13 +17,12 @@
|
||||||
[exoscale]
|
[exoscale]
|
||||||
register: _cs_region
|
register: _cs_region
|
||||||
|
|
||||||
# - name: Parse zones from output
|
|
||||||
# set_fact:
|
|
||||||
# _cs_zones: "{{ _cloudstack_zones | from_json }}"
|
|
||||||
|
|
||||||
- name: Get zones on cloud
|
- name: Get zones on cloud
|
||||||
cloudstack_zones:
|
cloudstack_zones:
|
||||||
register: _cs_zones
|
register: _cs_zones
|
||||||
|
environment:
|
||||||
|
CLOUDSTACK_CONFIG: "{{ _cs_config }}"
|
||||||
|
CLOUDSTACK_REGION: "{% if _cs_region.user_input | length <= 0 %}{{ 'exoscale' }}{% else %}{{ _cs_region.user_input }}{% endif %}"
|
||||||
|
|
||||||
- name: Extract zones from output
|
- name: Extract zones from output
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|
Loading…
Add table
Reference in a new issue