From aaefe76ef2c32b18624a8b9d8db16a6a8c6a7564 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:13:50 +0000 Subject: [PATCH 01/28] Update dependency ansible.utils to v2.12.0 --- ansible/requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 92f067a..a323191 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -1,7 +1,7 @@ --- collections: - name: ansible.utils - version: 2.11.0 + version: 2.12.0 - name: community.general version: 8.6.9 - name: community.docker From e6d1dbedc9ecc3b81fcf3fb9f08aeb5838f845a3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:14:01 +0000 Subject: [PATCH 02/28] Update dependency community.general to v10 --- ansible/requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 92f067a..97e9e99 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -3,7 +3,7 @@ collections: - name: ansible.utils version: 2.11.0 - name: community.general - version: 8.6.9 + version: 10.2.0 - name: community.docker version: 4.3.0 - name: ansible.posix From c5ed52000067e9f32991f697ea4e0a4d2e8fd852 Mon Sep 17 00:00:00 2001 From: Miguel Castilho Date: Tue, 21 Jan 2025 16:22:29 +0100 Subject: [PATCH 03/28] rename --- CONTRIBUTING.md | 10 +++++----- README.md | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index da696ac..bfd0a17 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ -# Contributing to HomeServeMate +# Contributing to DomoTron -Thank you for considering contributing to HomeServeMate! We welcome contributions from the community and are grateful for your support. To ensure a smooth process, please follow the guidelines below. +Thank you for considering contributing to DomoTron! We welcome contributions from the community and are grateful for your support. To ensure a smooth process, please follow the guidelines below. ## Table of Contents @@ -16,7 +16,7 @@ Thank you for considering contributing to HomeServeMate! We welcome contribution ## Code of Conduct -This project and everyone participating in it is governed by the [HomeServeMate Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [email](miguelcastilhodias@gmail.com). +This project and everyone participating in it is governed by the [DomoTron Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [email](miguelcastilhodias@gmail.com). ## How Can I Contribute? @@ -31,7 +31,7 @@ If you encounter a bug, please open an issue on GitHub with the following inform ### Suggesting Enhancements -We welcome suggestions to improve HomeServeMate. Please open an issue on GitHub with the following details: +We welcome suggestions to improve DomoTron. Please open an issue on GitHub with the following details: - A clear and descriptive title. - A detailed explanation of the enhancement and why it would be useful. @@ -72,4 +72,4 @@ Thank you for your contributions! --- -By contributing to this project, you agree to abide by the HomeServeMate [Code of Conduct](CODE_OF_CONDUCT.md). +By contributing to this project, you agree to abide by the DomoTron [Code of Conduct](CODE_OF_CONDUCT.md). diff --git a/README.md b/README.md index 57fff55..39a5c76 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# HomeServeMate +# DomoTron ## Overview -HomeServeMate is a project designed to automate the deployment and configuration of infrastructure on Proxmox using Terraform and Ansible. The Terraform scripts are used to provision the infrastructure, while Ansible is utilized to configure virtual machines (VMs) and Linux containers (LXC). +DomoTron is a project designed to automate the deployment and configuration of infrastructure on Proxmox using Terraform and Ansible. The Terraform scripts are used to provision the infrastructure, while Ansible is utilized to configure virtual machines (VMs) and Linux containers (LXC). ## Table of Contents @@ -27,8 +27,8 @@ Before you begin, ensure you have the following installed: 1. **Clone the Repository:** ```bash - git clone https://github.com/yourusername/HomeServeMate.git - cd HomeServeMate + git clone https://github.com/yourusername/DomoTron.git + cd DomoTron ``` 2. **Set Up Environment Variables:** From 3cd787bf68fbcc456b51a041303c4f782a4558aa Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:24:56 +0000 Subject: [PATCH 04/28] Update dependency ansible.utils to v5 --- ansible/requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/requirements.yml b/ansible/requirements.yml index a323191..3da2ae4 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -1,7 +1,7 @@ --- collections: - name: ansible.utils - version: 2.12.0 + version: 5.1.2 - name: community.general version: 8.6.9 - name: community.docker From 2126b1e6170be5cf0016a2d442c79b7f2722e231 Mon Sep 17 00:00:00 2001 From: Miguel Castilho Date: Tue, 21 Jan 2025 17:03:38 +0100 Subject: [PATCH 05/28] only triggers on pull request to feature/integratio --- .github/workflows/lint.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4c0ee40..2718d16 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,8 +1,9 @@ --- name: Lint on: - push: null - pull_request: null + pull_request: + branches: + - feature/integration permissions: {} jobs: build: From 52a6ed2190ad529adca21e9bf64b997e44ee9a47 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:09 +0000 Subject: [PATCH 06/28] Update ghcr.io/recyclarr/recyclarr Docker tag to v7.4.1 --- ansible/roles/apps/templates/apps/sonarr.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/sonarr.yml.j2 b/ansible/roles/apps/templates/apps/sonarr.yml.j2 index a720cc9..c129f2d 100644 --- a/ansible/roles/apps/templates/apps/sonarr.yml.j2 +++ b/ansible/roles/apps/templates/apps/sonarr.yml.j2 @@ -46,7 +46,7 @@ services: - CRON_SCHEDULE=@daily - RECYCLARR_CREATE_CONFIG=true hostname: recyclarr - image: ghcr.io/recyclarr/recyclarr:7.4.0 + image: ghcr.io/recyclarr/recyclarr:7.4.1 labels: icon: https://recyclarr.dev/img/recyclarr.png restart: unless-stopped From efafd84dd6c92801497a1d47cd866bf917708377 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:12 +0000 Subject: [PATCH 07/28] Update linuxserver/jellyfin Docker tag to v10.10.5 --- ansible/roles/apps/templates/apps/jellyfin.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/jellyfin.yml.j2 b/ansible/roles/apps/templates/apps/jellyfin.yml.j2 index 06b3555..3dcb93e 100644 --- a/ansible/roles/apps/templates/apps/jellyfin.yml.j2 +++ b/ansible/roles/apps/templates/apps/jellyfin.yml.j2 @@ -19,7 +19,7 @@ services: TZ: "{{ timezone }}" PUID: 1000 PGID: 1000 - image: linuxserver/jellyfin:10.10.3 + image: linuxserver/jellyfin:10.10.5 labels: icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/jellyfin-logo.png networks: From ed6b194d4af5acd87807573f2896d60eac3e2fce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:16 +0000 Subject: [PATCH 08/28] Update linuxserver/sonarr Docker tag to v4.0.13 --- ansible/roles/apps/templates/apps/sonarr.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/sonarr.yml.j2 b/ansible/roles/apps/templates/apps/sonarr.yml.j2 index a720cc9..e51dfe4 100644 --- a/ansible/roles/apps/templates/apps/sonarr.yml.j2 +++ b/ansible/roles/apps/templates/apps/sonarr.yml.j2 @@ -12,7 +12,7 @@ services: - TZ="{{ timezone }}" - PUID=1000 - PGID=1000 - image: linuxserver/sonarr:4.0.12 + image: linuxserver/sonarr:4.0.13 labels: icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/sonarr-icon.png ports: From 9c1dbe7f6f5cb7acb1f300f5161cae5aea2cfa64 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:19 +0000 Subject: [PATCH 09/28] Update Terraform cloudflare to v4.52.0 --- terraform/providers.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/providers.tf b/terraform/providers.tf index dbdd395..c5fc310 100644 --- a/terraform/providers.tf +++ b/terraform/providers.tf @@ -12,7 +12,7 @@ terraform { } cloudflare = { source = "cloudflare/cloudflare" - version = "4.50.0" + version = "4.52.0" } random = { source = "hashicorp/random" From 537161056989500e78236892b349a67a34c04ba9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:22 +0000 Subject: [PATCH 10/28] Update dependency community.docker to v4.4.0 --- ansible/requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 0f61db8..8640e53 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -5,6 +5,6 @@ collections: - name: community.general version: 10.2.0 - name: community.docker - version: 4.3.0 + version: 4.4.0 - name: ansible.posix version: 2.0.0 From 011bb4d6f96d5f1009374587bc7ac015ba5e246d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:26 +0000 Subject: [PATCH 11/28] Update dependency community.general to v10.3.1 --- ansible/requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 0f61db8..54cf0eb 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -3,7 +3,7 @@ collections: - name: ansible.utils version: 5.1.2 - name: community.general - version: 10.2.0 + version: 10.3.1 - name: community.docker version: 4.3.0 - name: ansible.posix From 93d690859c64d5986a319923657802c5a4333456 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:29 +0000 Subject: [PATCH 12/28] Update homeassistant/home-assistant Docker tag to v2025.2 --- ansible/roles/apps/templates/apps/homeassistant.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/homeassistant.yml.j2 b/ansible/roles/apps/templates/apps/homeassistant.yml.j2 index 4490315..3b18428 100644 --- a/ansible/roles/apps/templates/apps/homeassistant.yml.j2 +++ b/ansible/roles/apps/templates/apps/homeassistant.yml.j2 @@ -11,7 +11,7 @@ services: reservations: memory: "268435456" hostname: homeassistant - image: homeassistant/home-assistant:2025.1 + image: homeassistant/home-assistant:2025.2 labels: icon: https://cdn.icon-icons.com/icons2/2407/PNG/512/home_assistant_icon_146164.png privileged: true From 70ba76f08574d943b0c70eef7428a821635e870b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:34 +0000 Subject: [PATCH 13/28] Update koenkk/zigbee2mqtt Docker tag to v2.1.1 --- ansible/roles/apps/templates/apps/zigbee2mqtt.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/zigbee2mqtt.yml.j2 b/ansible/roles/apps/templates/apps/zigbee2mqtt.yml.j2 index 35ea8d9..c89fdea 100644 --- a/ansible/roles/apps/templates/apps/zigbee2mqtt.yml.j2 +++ b/ansible/roles/apps/templates/apps/zigbee2mqtt.yml.j2 @@ -11,7 +11,7 @@ services: environment: - "TZ={{ timezone }}" hostname: zigbee2mqtt - image: koenkk/zigbee2mqtt:2.0.0 + image: koenkk/zigbee2mqtt:2.1.1 labels: icon: https://raw.githubusercontent.com/mr-manuel/CasaOS-HomeAutomation-AppStore/latest/Apps/Zigbee2MQTT/icon.png ports: From ed8e3c17da9c7304473d3fa9e51ed7ff29138adf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:37 +0000 Subject: [PATCH 14/28] Update linuxserver/prowlarr Docker tag to v1.30.2 --- ansible/roles/apps/templates/apps/prowlarr.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/prowlarr.yml.j2 b/ansible/roles/apps/templates/apps/prowlarr.yml.j2 index 1f00121..f06071d 100644 --- a/ansible/roles/apps/templates/apps/prowlarr.yml.j2 +++ b/ansible/roles/apps/templates/apps/prowlarr.yml.j2 @@ -12,7 +12,7 @@ services: TZ: "{{ timezone }}" PUID: 1000 PGID: 1000 - image: linuxserver/prowlarr:1.29.2 + image: linuxserver/prowlarr:1.30.2 labels: icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/prowlarr-logo.png networks: From db2320bc8f034e0411564f36818429d05b9229a7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:47:40 +0000 Subject: [PATCH 15/28] Update linuxserver/radarr Docker tag to v5.18.4 --- ansible/roles/apps/templates/apps/radarr.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/radarr.yml.j2 b/ansible/roles/apps/templates/apps/radarr.yml.j2 index e1b9993..beae53f 100644 --- a/ansible/roles/apps/templates/apps/radarr.yml.j2 +++ b/ansible/roles/apps/templates/apps/radarr.yml.j2 @@ -12,7 +12,7 @@ services: TZ: "{{ timezone }}" PUID: 1000 PGID: 1000 - image: linuxserver/radarr:5.17.2 + image: linuxserver/radarr:5.18.4 labels: icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/radarr.png networks: From c20fa455c5a240272214cf4f9deccbc48863c2b0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 16 Feb 2025 18:38:23 +0000 Subject: [PATCH 16/28] Update Terraform cloudflare to v5 --- terraform/providers.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/providers.tf b/terraform/providers.tf index c5fc310..efeec17 100644 --- a/terraform/providers.tf +++ b/terraform/providers.tf @@ -12,7 +12,7 @@ terraform { } cloudflare = { source = "cloudflare/cloudflare" - version = "4.52.0" + version = "5.1.0" } random = { source = "hashicorp/random" From da34e763d811d155f4abd076dabcf486ef9d25a0 Mon Sep 17 00:00:00 2001 From: Miguel Castilho Dias Date: Sun, 16 Feb 2025 20:17:23 +0100 Subject: [PATCH 17/28] Revert "Update Terraform cloudflare to v5" --- terraform/providers.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/providers.tf b/terraform/providers.tf index efeec17..c5fc310 100644 --- a/terraform/providers.tf +++ b/terraform/providers.tf @@ -12,7 +12,7 @@ terraform { } cloudflare = { source = "cloudflare/cloudflare" - version = "5.1.0" + version = "4.52.0" } random = { source = "hashicorp/random" From 01b78a6b0262e275f7265546a16c0f130a10d028 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 01:31:05 +0000 Subject: [PATCH 18/28] Update linuxserver/jellyfin Docker tag to v10.10.6 --- ansible/roles/apps/templates/apps/jellyfin.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/jellyfin.yml.j2 b/ansible/roles/apps/templates/apps/jellyfin.yml.j2 index 3dcb93e..1b3b4d2 100644 --- a/ansible/roles/apps/templates/apps/jellyfin.yml.j2 +++ b/ansible/roles/apps/templates/apps/jellyfin.yml.j2 @@ -19,7 +19,7 @@ services: TZ: "{{ timezone }}" PUID: 1000 PGID: 1000 - image: linuxserver/jellyfin:10.10.5 + image: linuxserver/jellyfin:10.10.6 labels: icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/jellyfin-logo.png networks: From 94ef00d598ab345f54e8727109642280e662addb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 22 Feb 2025 13:34:24 +0000 Subject: [PATCH 19/28] Update linuxserver/prowlarr Docker tag to v1.31.2 --- ansible/roles/apps/templates/apps/prowlarr.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/prowlarr.yml.j2 b/ansible/roles/apps/templates/apps/prowlarr.yml.j2 index f06071d..40a350f 100644 --- a/ansible/roles/apps/templates/apps/prowlarr.yml.j2 +++ b/ansible/roles/apps/templates/apps/prowlarr.yml.j2 @@ -12,7 +12,7 @@ services: TZ: "{{ timezone }}" PUID: 1000 PGID: 1000 - image: linuxserver/prowlarr:1.30.2 + image: linuxserver/prowlarr:1.31.2 labels: icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/prowlarr-logo.png networks: From 7db692a2a7a9ee6090fb0b160e8de898d7faddeb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 11:40:53 +0000 Subject: [PATCH 20/28] Update dependency community.general to v10.4.0 --- ansible/requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/requirements.yml b/ansible/requirements.yml index c1c9aee..c7cd7f7 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -3,7 +3,7 @@ collections: - name: ansible.utils version: 5.1.2 - name: community.general - version: 10.3.1 + version: 10.4.0 - name: community.docker version: 4.4.0 - name: ansible.posix From 0238b98771d795de5e1b09db0b4a4e160d6e1f0f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 25 Feb 2025 19:38:55 +0000 Subject: [PATCH 21/28] Update Terraform random to v3.7.1 --- terraform/providers.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/providers.tf b/terraform/providers.tf index c5fc310..d32cc5d 100644 --- a/terraform/providers.tf +++ b/terraform/providers.tf @@ -16,7 +16,7 @@ terraform { } random = { source = "hashicorp/random" - version = "3.6.3" + version = "3.7.1" } ansible = { source = "nbering/ansible" From 8b241fd62a3ae20dca9d60ea7d73ba77f0f9f84b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 25 Feb 2025 19:38:59 +0000 Subject: [PATCH 22/28] Update linuxserver/radarr Docker tag to v5.19.3 --- ansible/roles/apps/templates/apps/radarr.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/apps/radarr.yml.j2 b/ansible/roles/apps/templates/apps/radarr.yml.j2 index beae53f..be111e8 100644 --- a/ansible/roles/apps/templates/apps/radarr.yml.j2 +++ b/ansible/roles/apps/templates/apps/radarr.yml.j2 @@ -12,7 +12,7 @@ services: TZ: "{{ timezone }}" PUID: 1000 PGID: 1000 - image: linuxserver/radarr:5.18.4 + image: linuxserver/radarr:5.19.3 labels: icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/radarr.png networks: From 6b3058354cff1f5c3b7dd2d0433cc2f24d7039a3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:40:18 +0000 Subject: [PATCH 23/28] Update Terraform tailscale to v0.18.0 --- terraform/providers.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/providers.tf b/terraform/providers.tf index c5fc310..a978d9d 100644 --- a/terraform/providers.tf +++ b/terraform/providers.tf @@ -24,7 +24,7 @@ terraform { } tailscale = { source = "tailscale/tailscale" - version = "0.17.2" + version = "0.18.0" } } } From 612e6f58862b1468007fae9aaf12d921001fa0b5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:40:22 +0000 Subject: [PATCH 24/28] Update super-linter/super-linter action to v7.3.0 --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2718d16..234b388 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,6 +19,6 @@ jobs: with: fetch-depth: 0 - name: Super-linter - uses: super-linter/super-linter@v7.2.1 + uses: super-linter/super-linter@v7.3.0 env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" From 0dd736c1f8072a89a67356606ab052d4c92920ad Mon Sep 17 00:00:00 2001 From: Miguel Castilho Date: Fri, 28 Feb 2025 13:02:52 +0100 Subject: [PATCH 25/28] rename folders --- ansible/mediabox.yml | 2 +- .../tasks/folder_structure.yml | 0 .../{dependencies => mediabox}/tasks/main.yml | 0 .../roles/proxmox_post_install/tasks/main.yml | 35 +++++++++++++++++++ 4 files changed, 36 insertions(+), 1 deletion(-) rename ansible/roles/{dependencies => mediabox}/tasks/folder_structure.yml (100%) rename ansible/roles/{dependencies => mediabox}/tasks/main.yml (100%) create mode 100644 ansible/roles/proxmox_post_install/tasks/main.yml diff --git a/ansible/mediabox.yml b/ansible/mediabox.yml index a24665c..676cbe7 100644 --- a/ansible/mediabox.yml +++ b/ansible/mediabox.yml @@ -23,7 +23,7 @@ - name: Install dependencies ansible.builtin.include_role: - name: dependencies + name: mediabox - name: Set up and mount disk become: true diff --git a/ansible/roles/dependencies/tasks/folder_structure.yml b/ansible/roles/mediabox/tasks/folder_structure.yml similarity index 100% rename from ansible/roles/dependencies/tasks/folder_structure.yml rename to ansible/roles/mediabox/tasks/folder_structure.yml diff --git a/ansible/roles/dependencies/tasks/main.yml b/ansible/roles/mediabox/tasks/main.yml similarity index 100% rename from ansible/roles/dependencies/tasks/main.yml rename to ansible/roles/mediabox/tasks/main.yml diff --git a/ansible/roles/proxmox_post_install/tasks/main.yml b/ansible/roles/proxmox_post_install/tasks/main.yml new file mode 100644 index 0000000..365a5d9 --- /dev/null +++ b/ansible/roles/proxmox_post_install/tasks/main.yml @@ -0,0 +1,35 @@ +--- +- name: Set hostname + become: true + ansible.builtin.hostname: + name: "{{ hostname }}" + +- name: Update APT package cache + become: true + ansible.builtin.apt: + update_cache: true + upgrade: "dist" + register: apt_update_result + until: apt_update_result is not failed + retries: 5 + delay: 20 + +- name: Check if docker is installed + ansible.builtin.stat: + path: /usr/bin/docker + register: docker_installed + +- name: Install docker + ansible.builtin.shell: | + set -o pipefail + curl -fsSL https://get.docker.com | sudo sh + when: not docker_installed.stat.exists + +- name: Add user to docker group + become: true + ansible.builtin.user: + name: "{{ ansible_user }}" + groups: docker + append: true + +- ansible.builtin.include_tasks: folder_structure.yml From a1f787ef718f4ba3b14f573f6be5abc8c6f751c0 Mon Sep 17 00:00:00 2001 From: Miguel Castilho Date: Fri, 28 Feb 2025 13:34:46 +0100 Subject: [PATCH 26/28] fix intel nic --- ansible/proxmox.yml | 20 +++++++++++ .../roles/proxmox_post_install/tasks/main.yml | 35 ------------------- terraform/proxmox_vm.tf | 7 +++- 3 files changed, 26 insertions(+), 36 deletions(-) create mode 100644 ansible/proxmox.yml delete mode 100644 ansible/roles/proxmox_post_install/tasks/main.yml diff --git a/ansible/proxmox.yml b/ansible/proxmox.yml new file mode 100644 index 0000000..c7c539d --- /dev/null +++ b/ansible/proxmox.yml @@ -0,0 +1,20 @@ +--- +- name: Apply fix to Intel NIC e1000e hardware unit hang + hosts: pve + gather_facts: no + any_errors_fatal: true + tasks: + - name: Append post-up command to iface eno1 inet manual + ansible.builtin.lineinfile: + path: /etc/network/interfaces + insertafter: "^iface eno1 inet manual" + line: " post-up ethtool -K eno1 tso off gso off" + state: present + notify: Restart networking + + handlers: + - name: Restart networking + ansible.builtin.service: + name: networking + state: restarted + enabled: yes diff --git a/ansible/roles/proxmox_post_install/tasks/main.yml b/ansible/roles/proxmox_post_install/tasks/main.yml deleted file mode 100644 index 365a5d9..0000000 --- a/ansible/roles/proxmox_post_install/tasks/main.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -- name: Set hostname - become: true - ansible.builtin.hostname: - name: "{{ hostname }}" - -- name: Update APT package cache - become: true - ansible.builtin.apt: - update_cache: true - upgrade: "dist" - register: apt_update_result - until: apt_update_result is not failed - retries: 5 - delay: 20 - -- name: Check if docker is installed - ansible.builtin.stat: - path: /usr/bin/docker - register: docker_installed - -- name: Install docker - ansible.builtin.shell: | - set -o pipefail - curl -fsSL https://get.docker.com | sudo sh - when: not docker_installed.stat.exists - -- name: Add user to docker group - become: true - ansible.builtin.user: - name: "{{ ansible_user }}" - groups: docker - append: true - -- ansible.builtin.include_tasks: folder_structure.yml diff --git a/terraform/proxmox_vm.tf b/terraform/proxmox_vm.tf index 680f19c..91143b6 100644 --- a/terraform/proxmox_vm.tf +++ b/terraform/proxmox_vm.tf @@ -55,4 +55,9 @@ resource "proxmox_vm_qemu" "mediabox" { } - +#### Proxmox host +resource "null_resource" "execute_ansible_on_proxmox" { + provisioner "local-exec" { + command = "ansible-playbook -i ${var.ansible_inventory} ${var.ansible_playbooks.proxmox} --vault-password-file .vault_pass.txt" + } +} \ No newline at end of file From 5e13c03b192480dbc5f79f11daf75fe9706c4fd2 Mon Sep 17 00:00:00 2001 From: Miguel Castilho Date: Fri, 28 Feb 2025 13:37:35 +0100 Subject: [PATCH 27/28] change github action --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 234b388..102db04 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,7 +3,7 @@ name: Lint on: pull_request: branches: - - feature/integration + - main permissions: {} jobs: build: From 6b8b717d20329ee4c6a4224995c9352096389c52 Mon Sep 17 00:00:00 2001 From: Miguel Castilho Date: Fri, 28 Feb 2025 13:50:30 +0100 Subject: [PATCH 28/28] add provider --- terraform/providers.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/providers.tf b/terraform/providers.tf index 112b76c..961f0a1 100644 --- a/terraform/providers.tf +++ b/terraform/providers.tf @@ -26,6 +26,10 @@ terraform { source = "tailscale/tailscale" version = "0.18.0" } + null = { + source = "hashicorp/null" + version = "3.2.3" + } } }