mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 03:38:51 +00:00
33 lines
702 B
YAML
33 lines
702 B
YAML
- name: Create security group
|
|
os_security_group:
|
|
cloud: open-telekom-cloud
|
|
name: sg-tpot-any
|
|
description: tpot any-any
|
|
|
|
- name: Add rules to security group
|
|
os_security_group_rule:
|
|
cloud: open-telekom-cloud
|
|
security_group: sg-tpot-any
|
|
remote_ip_prefix: 0.0.0.0/0
|
|
|
|
- name: Create network
|
|
os_network:
|
|
cloud: open-telekom-cloud
|
|
name: network-tpot
|
|
|
|
- name: Create subnet
|
|
os_subnet:
|
|
cloud: open-telekom-cloud
|
|
network_name: network-tpot
|
|
name: subnet-tpot
|
|
cidr: 192.168.0.0/24
|
|
dns_nameservers:
|
|
- 1.1.1.1
|
|
- 8.8.8.8
|
|
|
|
- name: Create router
|
|
os_router:
|
|
cloud: open-telekom-cloud
|
|
name: router-tpot
|
|
interfaces:
|
|
- subnet-tpot
|