push swarm et MEP

This commit is contained in:
2024-07-14 16:11:48 +02:00
parent a26efe12e5
commit a5d394f7d1
14 changed files with 90 additions and 591 deletions

View File

@@ -1,7 +1,24 @@
---
#* SWARM
docker_swarm_addr: 100.96.125.190
docker_swarm_interface: wt0
pip_install_packages:
- docker
- jsondiff
- jsondiff
#* FIREWALL
firewall_allowed_udp_ports:
#! Docker swarm
- "7946"
- "4789"
firewall_allowed_tcp_ports:
- "22"
- "80"
- "443"
- "9100"
#! Docker swarm
- "2377"
- "7946"

View File

@@ -1,47 +0,0 @@
---
pip_executable: pip
pip_install_packages:
- kubernetes
package_list:
- name: python3-pip
# clabernetes
- name: jq
install_docker: true
helm_version: 'v3.13.2'
management_user_list:
- name: stephane
shell: '/bin/bash'
authorized_keys:
- key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQClVS1uxDfwS6OusQ4qgcZ6hBc8YRBE8MyXu0sUfGN7S3itjI3W2ixD18v80el8dVQVR12jCY0ueavgoV1cHrfGWkFoLKi+QrA4MuSNUChj0NBbyLTmdwPvne8LRv3ttCbRSJ/6bIEveX8y/7kGn/R1NDFlfE6b5R8ersBUKCQM6YxblAkv/XH8cJlQXhr1nLhVOl/ae+Q/pTCbgioB8qrmGEuMvOLmavcFf7IJbJcSgeiXSOnyIRl2n64X6lbRK+MRZ61pF6vAOXA+Ixyt/fAbO7sjqU0+cEhU5Br5/VcqG4Bc5nhWimtXIHPry3aLV5PtN6K9/i3eA5F6Jpa82JzmUMEbWSBIga02yIw9GjRyAI6ccH/kJGuB6QN5/YwGHpOF2f0FGiEAbUz41mLngN3SsXL1pdV2hT3x56/GIcGe6p/f1cytwVCyOaE7W87B05w5JYb1sSFj6QuGW0rHWfnHT5SY87Mk/H8VgZPaPbm+hSjLIQRAmUYQR+Rub1o9bXE= stephane"
exclusive: yes
sudo:
hosts: ALL
as: ALL
commands: ALL
nopasswd: ALL
# ##########
# # CHISEL #
# ##########
# chisel_server: false
# chisel_client_server_url: "{{ chisel_server_host }}:8080"
# chisel_client_remotes: "R:{{ chisel_server_host }}:socks"
# chisel_service_name: chisel-client
# chisel_config_name: chisel-client
# chisel_conf:
# # chisel enable auth and finder
# - path: "/etc/chisel/{{ chisel_config_name }}.conf"
# regexp: "^AUTH=--auth {{ chisel_client_auth_username }}:{{ chisel_client_auth_password }}"
# state: present
# line: "AUTH=--auth {{ chisel_client_auth_username }}:{{ chisel_client_auth_password }}"
# - path: "/etc/chisel/{{ chisel_config_name }}.conf"
# regexp: "^FINGERPRINT=--fingerprint {{ chisel_client_server_fingerprint }}"
# state: present
# line: "FINGERPRINT=--fingerprint {{ hostvars[groups['server'][0]].chisel_fingerprint[4]|default('') }}"

View File

@@ -1,6 +1,26 @@
---
#* SWARM
docker_swarm_addr: 100.96.212.100
docker_swarm_interface: wt0
pip_install_packages:
- docker
- docker
#* FIREWALL
firewall_allowed_udp_ports:
#! Docker swarm
- "7946"
- "4789"
firewall_allowed_tcp_ports:
- "22"
- "80"
- "443"
- "9100"
#! Docker swarm
- "2377"
- "7946"

View File

@@ -1,6 +1,10 @@
# ---
docker_swarm_addr: 100.96.172.77
docker_swarm_interface: wt0
pip_install_packages:
- docker
# #* NETBIRD
# netbird_setup_key: F234BD1F-385B-4BEA-8234-608CCB1062ED
@@ -12,6 +16,11 @@
# cert_file: /etc/node_exporter/tls.cert
# key_file: /etc/node_exporter/tls.key
node_exporter_tls_server_config:
cert_file: /etc/node_exporter/tls.cert
key_file: /etc/node_exporter/tls.key
# #* NODE_EXPORTER
# # node_exporter_basic_auth_users: