update
This commit is contained in:
@ -1,19 +1,12 @@
|
||||
---
|
||||
- ansible.builtin.set_fact:
|
||||
services:
|
||||
compute:
|
||||
name: "nova"
|
||||
environments:
|
||||
production:
|
||||
endpoints:
|
||||
eu-de:
|
||||
- url: "https://ecs.eu-de.otc.t-systems.com/v2.1/$(tenant_id)s"
|
||||
eu-nl:
|
||||
- url: "https://ecs.eu-nl.otc.t-systems.com/v2.1/$(tenant_id)s"
|
||||
- name: include vars
|
||||
ansible.builtin.include_vars:
|
||||
file: test_data.yaml
|
||||
name: "config"
|
||||
|
||||
- name: Check run
|
||||
opentelekomcloud.backend.service_catalog:
|
||||
cloud: "{{ cloud }}"
|
||||
environment: "production"
|
||||
services: "{{ services }}"
|
||||
services: "{{ config.services }}"
|
||||
check_mode: true
|
||||
|
@ -0,0 +1,17 @@
|
||||
---
|
||||
services:
|
||||
# Key of the dictionary is the service type
|
||||
# this helps avoiding duplication of the services
|
||||
compute:
|
||||
name: "nova"
|
||||
environments:
|
||||
production:
|
||||
endpoints:
|
||||
eu-de:
|
||||
- url: "https://ecs.eu-de.otc.t-systems.com/v2.1/$(tenant_id)s"
|
||||
eu-nl:
|
||||
- url: "https://ecs.eu-nl.otc.t-systems.com/v2.1/$(tenant_id)s"
|
||||
preprod:
|
||||
endpoints:
|
||||
eu-de:
|
||||
- url: "https://ecs.eu-de.otctest.t-systems.com/v2.1/$(tenant_id)s"
|
Reference in New Issue
Block a user