initial push
This commit is contained in:
3
roles/deploy-homepage-config/defaults/main.yml
Normal file
3
roles/deploy-homepage-config/defaults/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
domaine_ext: belgiumrp.net
|
||||
nginx_user: brp-01@outlook.com
|
||||
nginx_pass: Q^mbDpZD2h9GKf
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
BIN
roles/deploy-homepage-config/files/icons/logo.png
Normal file
BIN
roles/deploy-homepage-config/files/icons/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
64
roles/deploy-homepage-config/tasks/main.yml
Normal file
64
roles/deploy-homepage-config/tasks/main.yml
Normal file
@@ -0,0 +1,64 @@
|
||||
---
|
||||
- name: Copie du template "Settings"
|
||||
template:
|
||||
src: "settings.yaml"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/settings.yaml"
|
||||
become: yes
|
||||
|
||||
- name: Copie du template "Bookmarks"
|
||||
template:
|
||||
src: "bookmarks.yaml"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/bookmarks.yaml"
|
||||
become: yes
|
||||
|
||||
- name: Copie du template "Services"
|
||||
template:
|
||||
src: "services.yaml"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/services.yaml"
|
||||
become: yes
|
||||
|
||||
- name: Copie du template "Widgets"
|
||||
template:
|
||||
src: "widgets.yaml"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/widgets.yaml"
|
||||
become: yes
|
||||
|
||||
- name: Copie du template "Custom.css"
|
||||
template:
|
||||
src: "custom.css"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/custom.css"
|
||||
become: yes
|
||||
|
||||
- name: Copie du template "Custom.js"
|
||||
template:
|
||||
src: "custom.js"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/custom.js"
|
||||
become: yes
|
||||
|
||||
- name: Copie du template "Docker"
|
||||
template:
|
||||
src: "docker.yaml"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/docker.yaml"
|
||||
become: yes
|
||||
|
||||
- name: Copie du template "Kubernetes"
|
||||
template:
|
||||
src: "kubernetes.yaml"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/kubernetes.yaml"
|
||||
become: yes
|
||||
|
||||
- name: "Copie des backgrounds"
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/images/"
|
||||
with_fileglob:
|
||||
- "/etc/ansible/roles/homepage-config/files/backgrounds/*"
|
||||
become: yes
|
||||
|
||||
- name: "Copie des icons"
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/home/ubuntu/{{ name_docker }}/icons/"
|
||||
with_fileglob:
|
||||
- "/etc/ansible/roles/homepage-config/files/icons/*"
|
||||
become: yes
|
||||
10
roles/deploy-homepage-config/templates/bookmarks.yaml
Normal file
10
roles/deploy-homepage-config/templates/bookmarks.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/bookmarks
|
||||
|
||||
- Bookmarks:
|
||||
|
||||
- Simple Icon:
|
||||
- abbr: SI
|
||||
icon: si-simpleicons
|
||||
href: https://simpleicons.org/
|
||||
0
roles/deploy-homepage-config/templates/custom.css
Normal file
0
roles/deploy-homepage-config/templates/custom.css
Normal file
0
roles/deploy-homepage-config/templates/custom.js
Normal file
0
roles/deploy-homepage-config/templates/custom.js
Normal file
10
roles/deploy-homepage-config/templates/docker.yaml
Normal file
10
roles/deploy-homepage-config/templates/docker.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/docker/
|
||||
|
||||
# my-docker:
|
||||
# host: 127.0.0.1
|
||||
# port: 2375
|
||||
|
||||
# my-docker:
|
||||
# socket: /var/run/docker.sock
|
||||
2
roles/deploy-homepage-config/templates/kubernetes.yaml
Normal file
2
roles/deploy-homepage-config/templates/kubernetes.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
# sample kubernetes config
|
||||
57
roles/deploy-homepage-config/templates/services.yaml
Normal file
57
roles/deploy-homepage-config/templates/services.yaml
Normal file
@@ -0,0 +1,57 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/services
|
||||
|
||||
- Reseau:
|
||||
- Nginx Proxy Manager:
|
||||
href: https://nginx.{{ domaine_ext }}
|
||||
icon: si-nginxproxymanager-#F15833
|
||||
description: Reverse Proxy
|
||||
widget:
|
||||
type: npm
|
||||
url: https://nginx.{{ domaine_ext }}
|
||||
username: {{ nginx_user }}
|
||||
password: "{{ nginx_pass }}"
|
||||
|
||||
|
||||
- Uptime Kuma:
|
||||
href: https://monitoring.{{ domaine_ext }}
|
||||
icon: si-uptimekuma-#5CDD8B
|
||||
description: Monitoring Network
|
||||
widget:
|
||||
type: uptimekuma
|
||||
url: https://monitoring.{{ domaine_ext }}
|
||||
slug: belgiumrp
|
||||
|
||||
- Home Lab:
|
||||
- Portainer:
|
||||
href: https://portainer.{{ domaine_ext }}
|
||||
icon: si-portainer-#13BEF9
|
||||
description: Gestionnaire de container
|
||||
widget:
|
||||
type: portainer
|
||||
url: https://portainer.{{ domaine_ext }}
|
||||
env: 1
|
||||
key: ptr_yiqjc2hL2H2G7gXU5WxQbAHvCo4UkqVJsOyfutvQXS4=
|
||||
|
||||
|
||||
- Infra:
|
||||
- Ansible Code Server:
|
||||
href: https://ansible.{{ domaine_ext }}
|
||||
icon: si-visualstudiocode-#007ACC
|
||||
description: Visual Studio Code (WEB) - Ansible
|
||||
|
||||
- Bitwarden:
|
||||
href: https://bitwarden.{{ domaine_ext }}
|
||||
icon: si-bitwarden-#175DDC
|
||||
description: Password Manager
|
||||
|
||||
- Bookstack:
|
||||
href: https://wiki.{{ domaine_ext }}
|
||||
icon: si-bookstack-#0288D1
|
||||
description: Wiki Belgium RP
|
||||
|
||||
# - Grafana:
|
||||
# href: https://grafana.{{ domaine_ext }}
|
||||
# icon: si-grafana-#F46800
|
||||
# description: Monitoring
|
||||
58
roles/deploy-homepage-config/templates/settings.yaml
Normal file
58
roles/deploy-homepage-config/templates/settings.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/settings
|
||||
|
||||
title: "Belgium RP Staff Dashboard"
|
||||
headerStyle: boxed
|
||||
language: fr
|
||||
startUrl: https://dashboard.belgiumrp.net
|
||||
hideErrors: true
|
||||
target: _self # Possible options include _blank, _self, and _top
|
||||
statusStyle: 'dot'
|
||||
hideVersion: true
|
||||
|
||||
providers:
|
||||
openweathermap: openweathermapapikey
|
||||
weatherapi: weatherapiapikey
|
||||
|
||||
background:
|
||||
image: /images/background-datacenter.jpg
|
||||
blur: md # sm, "", md, xl... see https://tailwindcss.com/docs/backdrop-blur
|
||||
saturate: 50 # 0, 50, 100... see https://tailwindcss.com/docs/backdrop-saturate
|
||||
brightness: 50 # 0, 50, 75... see https://tailwindcss.com/docs/backdrop-brightness
|
||||
opacity: 50 # 0-100
|
||||
|
||||
quicklaunch:
|
||||
searchDescriptions: true
|
||||
hideInternetSearch: false
|
||||
showSearchSuggestions: true
|
||||
hideVisitURL: false
|
||||
|
||||
layout:
|
||||
Reseau:
|
||||
useEqualHeights: true
|
||||
disableCollapse: true
|
||||
style: row
|
||||
columns: 4
|
||||
|
||||
Home Lab:
|
||||
useEqualHeights: true
|
||||
disableCollapse: true
|
||||
style: row
|
||||
columns: 4
|
||||
|
||||
Infra:
|
||||
useEqualHeights: true
|
||||
disableCollapse: true
|
||||
style: row
|
||||
columns: 6
|
||||
|
||||
Bookmarks:
|
||||
useEqualHeights: true
|
||||
disableCollapse: true
|
||||
style: row
|
||||
columns: 5
|
||||
|
||||
|
||||
theme: dark # or light
|
||||
color: slate # Supported colors: slate, gray, zinc, neutral, stone, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, red, white
|
||||
23
roles/deploy-homepage-config/templates/widgets.yaml
Normal file
23
roles/deploy-homepage-config/templates/widgets.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/latest/configs/service-widgets
|
||||
|
||||
- logo:
|
||||
icon: si-awselasticloadbalancing
|
||||
|
||||
- resources:
|
||||
cpu: true
|
||||
memory: true
|
||||
|
||||
- search:
|
||||
provider: google # google, duckduckgo, bing, baidu, brave or custom
|
||||
focus: true # Optional, will set focus to the search bar on page load
|
||||
showSearchSuggestions: true # Optional, will show search suggestions. Defaults to false
|
||||
target: _blank # One of _self, _blank, _parent or _top
|
||||
|
||||
- datetime:
|
||||
locale: fr
|
||||
text_size: xl
|
||||
format:
|
||||
timeStyle: short
|
||||
dateStyle: short
|
||||
Reference in New Issue
Block a user