From 85625c50e27043703d6cc7cf8e3ec5a11d9be2e9 Mon Sep 17 00:00:00 2001 From: Tim Unkrig Date: Fri, 27 Oct 2023 13:17:05 +0200 Subject: [PATCH] cleanup folders --- .DS_Store | Bin 0 -> 6148 bytes .drone.yml | 2 +- infrastructure/unnused/nextcloud-aio.tf | 91 ------------------------ infrastructure/unnused/unifi.tf | 69 ------------------ 4 files changed, 1 insertion(+), 161 deletions(-) create mode 100644 .DS_Store delete mode 100644 infrastructure/unnused/nextcloud-aio.tf delete mode 100644 infrastructure/unnused/unifi.tf diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c4241cd6923fa43784d6a234fd9018467793fc95 GIT binary patch literal 6148 zcmeHK%Sr=55Ukc50)ph|ael!+7()Dl{D9&MK~`83&wKK_{4}c{h+!jm@gmjGT{FF1 zGi)8Uw*lCCe|HJ204(W_c=s?jf9^iBlgb#8&NFWCiXBGmaXYI%o^b9to-p8nyzl%S zPZ@FlwjGD(m*Fw*IDUw-Qa}nw0VyB_q`U!anm~>bTA67S8O(+((^ZXX& zu%4(W1*E{C0;joMdH=tn|1kd_lC+ZoQs7@HV2jOmv*s&RZ=JoI_u59krhCl?-Hq#@ nFhn~hMmy%l+wnydWnJ?%pZCHkG3d+(ov5Dy*F`1;{#t=gx`Y>r literal 0 HcmV?d00001 diff --git a/.drone.yml b/.drone.yml index 8333ebb..32f7bf5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,7 @@ steps: - name: Terraform syntax check for pull request image: hashicorp/terraform:1.5 commands: - - terraform -chdir=infrastructure fmt -diff -check + - terraform -chdir=infrastructure fmt -write=false -diff -check -recursive when: event: - pull_request diff --git a/infrastructure/unnused/nextcloud-aio.tf b/infrastructure/unnused/nextcloud-aio.tf deleted file mode 100644 index 487ca08..0000000 --- a/infrastructure/unnused/nextcloud-aio.tf +++ /dev/null @@ -1,91 +0,0 @@ -resource "proxmox_virtual_environment_vm" "nextcloud_aio" { - acpi = true - bios = "ovmf" - vm_id = 111 - node_name = "proxmox" - scsi_hardware = "virtio-scsi-single" - name = "nextcloud-aio" - started = true - tablet_device = true - tags = [] - template = false - - agent { - enabled = true - timeout = "15m" - trim = false - } - - cpu { - architecture = "x86_64" - cores = 4 - flags = [] - hotplugged = 0 - numa = false - sockets = 1 - type = "host" - units = 1024 - } - - efi_disk { - datastore_id = "local" - file_format = "qcow2" - pre_enrolled_keys = true - type = "4m" - } - - disk { - datastore_id = "local" - ssd = true - size = 900 - file_format = "qcow2" - interface = "scsi0" - } - - initialization { - datastore_id = "local" - interface = "ide0" - - ip_config { - ipv4 { - address = "10.20.1.8/16" - gateway = "10.20.0.1" - } - ipv6 { - address = "auto" - } - } - - user_account { - keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHRYu07KxH1k+RvQ0JjDeLslwEgmWNdU5xtgYXCHoG7L tim@matabi", - ] - username = "tim" - } - } - - memory { - dedicated = 8192 - floating = 0 - shared = 0 - } - - network_device { - bridge = "vmbr0" - enabled = true - firewall = true - mac_address = "7A:D1:F3:47:8D:1B" - model = "virtio" - mtu = 0 - rate_limit = 0 - vlan_id = 0 - } - - operating_system { - type = "l26" - } - - vga { - enabled = true - } -} \ No newline at end of file diff --git a/infrastructure/unnused/unifi.tf b/infrastructure/unnused/unifi.tf deleted file mode 100644 index 9f517f4..0000000 --- a/infrastructure/unnused/unifi.tf +++ /dev/null @@ -1,69 +0,0 @@ -resource "proxmox_virtual_environment_container" "unifi" { - node_name = "proxmox" - started = true - tags = [] - template = false - vm_id = 103 - - console { - enabled = true - tty_count = 2 - type = "tty" - } - - cpu { - architecture = "amd64" - cores = 2 - units = 1024 - } - - disk { - datastore_id = "local" - size = 32 - } - - initialization { - hostname = "unifi" - - ip_config { - ipv4 { - address = "10.20.1.2/16" - gateway = "10.20.0.1" - } - ipv6 { - address = "auto" - } - } - } - - memory { - dedicated = 2048 - swap = 512 - } - - network_interface { - bridge = "vmbr0" - enabled = true - firewall = true - mac_address = "CA:B6:50:D7:1E:C2" - mtu = 0 - name = "eth0" - rate_limit = 0 - vlan_id = 0 - } - - operating_system { - template_file_id = proxmox_virtual_environment_file.ubuntu_container_template.id - type = "ubuntu" - } -} - -resource "proxmox_virtual_environment_file" "ubuntu_container_template" { - content_type = "vztmpl" - datastore_id = "local" - node_name = "proxmox" - - source_file { - path = "http://download.proxmox.com/images/system/ubuntu-22.04-standard_22.04-1_amd64.tar.zst" - } -} \ No newline at end of file