From 8ce56f15e0751870b56805010241dcfe8389b10f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 17 Dec 2022 21:59:58 +0100 Subject: refactor: remove global __services from roles --- host_vars/dc0.yml | 10 +++++----- host_vars/stack0-dev0.yml | 7 +------ 2 files changed, 6 insertions(+), 11 deletions(-) (limited to 'host_vars') diff --git a/host_vars/dc0.yml b/host_vars/dc0.yml index fc9b3cc..80c7ef5 100644 --- a/host_vars/dc0.yml +++ b/host_vars/dc0.yml @@ -13,23 +13,23 @@ __ip: internal: 10.10.0.1 __services: - - name: ssh + ssh: protocol: tcp port: 22 - - name: wireguard + wireguard: protocol: udp port: 53 - - name: http + http: protocol: tcp port: 80 - - name: https + https: protocol: tcp port: 443 - - name: cgit + cgit: domain: git protocol: tcp port: 1235 diff --git a/host_vars/stack0-dev0.yml b/host_vars/stack0-dev0.yml index 905627a..fe6204c 100644 --- a/host_vars/stack0-dev0.yml +++ b/host_vars/stack0-dev0.yml @@ -7,11 +7,6 @@ __ip: internal: 10.10.0.61 __services: - - name: ssh + ssh: protocol: tcp port: 22 - -# - name: cgit -# domain: git -# protocol: tcp -# port: 1235 -- cgit v1.2.3