From c44b007c5a6abbe68091213d07c1a908250447cd Mon Sep 17 00:00:00 2001 From: yesrod Date: Wed, 8 Dec 2021 17:23:16 -0500 Subject: [PATCH] fix: remove LibreNMS container from Terraform (#81) --- ansible/inventory/group_vars/all/dns.yaml | 2 +- terraform/lxc-librenms.tf | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 terraform/lxc-librenms.tf diff --git a/ansible/inventory/group_vars/all/dns.yaml b/ansible/inventory/group_vars/all/dns.yaml index a98799e4..44bad290 100644 --- a/ansible/inventory/group_vars/all/dns.yaml +++ b/ansible/inventory/group_vars/all/dns.yaml @@ -12,7 +12,6 @@ magevent_net_hosts: - { name: "dns2", ip: "{{ branch_subnet_trimmed }}.120", type: "A" } - { name: "graylog", ip: "{{ branch_subnet_trimmed }}.129", type: "A" } - { name: "syslog", ip: "{{ branch_subnet_trimmed }}.130", type: "A" } - - { name: "librenms", ip: "{{ branch_subnet_trimmed }}.151", type: "A" } - { name: "zabbix-new", ip: "{{ branch_subnet_trimmed }}.201", type: "A" } - { name: "dhcp1", ip: "{{ branch_subnet_trimmed }}.253", type: "A" } - { name: "dhcp2", ip: "{{ branch_subnet_trimmed }}.254", type: "A" } @@ -48,6 +47,7 @@ magevent_net_hosts: - { name: "gitlab-builder-1", ip: "10.101.22.138", type: "A" } - { name: "gitlab-builder-2", ip: "10.101.22.139", type: "A" } - { name: "gitlab-builder-3", ip: "10.101.22.140", type: "A" } + - { name: "librenms", ip: "10.101.22.151", type: "A" } - { name: "zabbix", ip: "10.101.22.200", type: "A" } # MAGCloud management IPs - { name: "oa1", ip: "10.101.21.11", type: "A" } diff --git a/terraform/lxc-librenms.tf b/terraform/lxc-librenms.tf deleted file mode 100644 index bdec678e..00000000 --- a/terraform/lxc-librenms.tf +++ /dev/null @@ -1,15 +0,0 @@ -module "librenms" { - source = "./modules/lxc" - cluster_name = "pve1" - memory = "1024" - cores = "2" - gateway = cidrhost(var.subnet, 1) - hostname = "librenms-21.${local.domain}" - nets = [ - { - ip = cidrhost(var.subnet, 151) - cidr = local.cidr_suffix - tag = "22" - } - ] -}