summaryrefslogtreecommitdiff
path: root/heat
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-20 19:32:08 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-20 19:32:08 +0300
commitcb437c9e3a1f7b25e1306e504656286c24186e4c (patch)
treec8314be1f48e51b0f145450c3a91a8b79390499e /heat
parentd6789ab0b7175173ea73723fc2a686097569bf6f (diff)
downloadansibleness-cb437c9e3a1f7b25e1306e504656286c24186e4c.tar.gz
drop old crap
Sponsored-by: author
Diffstat (limited to 'heat')
-rw-r--r--heat/pieni.heat109
1 files changed, 0 insertions, 109 deletions
diff --git a/heat/pieni.heat b/heat/pieni.heat
deleted file mode 100644
index 0ab8aa5..0000000
--- a/heat/pieni.heat
+++ /dev/null
@@ -1,109 +0,0 @@
----
-heat_template_version: 2015-04-30
-
-description: >-
- pieni.net.
-
-parameters:
-
- key_name:
- type: string
- label: Key name
- description: Name of key-pair to be used for compute instance
-
- instance_flavor:
- type: string
- label: Instance Type
- description: Type of instance (flavor) to be used
- default: nbl-n1-medium
-
- image_id:
- type: string
- label: Image ID
- description: "stretch"
- default: 64e1068f-09f0-4eb3-aca1-05946de594c3
-
- floating_network:
- type: string
- label: Public network UUID
- description: UUID of the public network
- default: Public-Helsinki-1
-
- availability_zone:
- type: string
- label: Availability zone
- description: Name of the Availability zone
- default: helsinki-1
-
- public_network:
- type: string
- description: The network for the VM in helsinki-1
- default: Network-Public-Helsinki-1
-
-resources:
-
- sg:
- type: OS::Neutron::SecurityGroup
- properties:
- description: some stuff
- rules:
- # Allow ssh in.
- - direction: ingress
- ethertype: IPv4
- port_range_min: 22
- port_range_max: 22
- protocol: tcp
- # Allow smtp in.
- - direction: ingress
- ethertype: IPv4
- port_range_min: 25
- port_range_max: 25
- protocol: tcp
- # Allow https in.
- - direction: ingress
- ethertype: IPv4
- port_range_min: 80
- port_range_max: 80
- protocol: tcp
- # Allow imaps in.
- - direction: ingress
- ethertype: IPv4
- port_range_min: 993
- port_range_max: 993
- protocol: tcp
- # Allow smtp submission in.
- - direction: ingress
- ethertype: IPv4
- port_range_min: 587
- port_range_max: 587
- protocol: tcp
- # Allow git in.
- - direction: ingress
- ethertype: IPv4
- port_range_min: 9418
- port_range_max: 9418
- protocol: tcp
-
- public_port:
- type: OS::Neutron::Port
- properties:
- network: { get_param: public_network }
- security_groups: [{ get_resource: sg }]
-
- public_ip:
- type: OS::Neutron::FloatingIP
- depends_on: public_port
- properties:
- floating_network: { get_param: floating_network }
- port_id: { get_resource: public_port }
-
- pieni:
- type: OS::Nova::Server
- depends_on: public_port
- properties:
- availability_zone : { get_param: availability_zone }
- key_name: { get_param: key_name }
- image: { get_param: image_id }
- flavor: { get_param: instance_flavor }
- networks:
- - port: { get_resource: public_port }