From 7b2d0513d9f3579ede904257895bbe4c3dd8fbab Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 12 Mar 2023 01:18:18 +0100 Subject: [PATCH] update defaults, content and allowes roles not at galaxy --- content/contents.lr | 50 +++++++++++++++++++++++++++++++++++++++- flowblocks/table.ini | 21 ++++++++++++++--- templates/frontpage.html | 6 ++++- 3 files changed, 72 insertions(+), 5 deletions(-) diff --git a/content/contents.lr b/content/contents.lr index 35905fa..d02a377 100644 --- a/content/contents.lr +++ b/content/contents.lr @@ -15,6 +15,10 @@ name: Gitea and Forgejo ---- gitrepo: https://github.com/roles-ansible/ansible_role_gitea.git ---- +gitearepo: https://backwesen.de/ansible/ansible_role_gitea.git +---- +no_galaxy: yes +---- galaxy_name: do1jlr.gitea ---- galaxy_url: https://galaxy.ansible.com/do1jlr/gitea @@ -27,6 +31,10 @@ name: Unbound ---- gitrepo: https://github.com/roles-ansible/ansible_role_unbound.git ---- +gitearepo: +---- +no_galaxy: true +---- galaxy_name: do1jlr.unbound ---- galaxy_url: https://galaxy.ansible.com/do1jlr/unbound @@ -39,6 +47,10 @@ name: OpenSSH Server ---- gitrepo: https://github.com/roles-ansible/ansible_role_sshd.git ---- +gitearepo: https://backwesen.de/ansible/ansible_role_sshd.git +---- +no_galaxy: true +---- galaxy_name: do1jlr.sshd ---- galaxy_url: https://galaxy.ansible.com/do1jlr/sshd @@ -51,7 +63,11 @@ name: Network Time Protocol ---- -gitrepo: https://github.com/roles-ansible/ansible_role_ntp +gitrepo: https://github.com/roles-ansible/ansible_role_ntp.git +---- +gitearepo: https://backwesen.de/ansible/ansible_role_ntp.git +---- +no_galaxy: true ---- galaxy_name: do1jlr.ntp ---- @@ -60,6 +76,38 @@ galaxy_url: https://galaxy.ansible.com/do1jlr/ntp maintainance: true ---- license: Apache-2 +#### table #### +name: Ranger +---- +gitrepo: https://github.com/roles-ansible/ansible_role_ranger.git +---- +gitearepo: https://backwesen.de/ansible/ansible_role_ranger.git +---- +no_galaxy: true +---- +galaxy_name: do1jlr.ranger +---- +galaxy_url: https://galaxy.ansible.com/do1jlr/ranger +---- +maintainance: true +---- +license: MIT +#### table #### +name: Rspamd +---- +gitrepo: https://github.com/roles-ansible/ansible_role_rspamd.git +---- +gitearepo: https://backwesen.de/ansible/ansible_role_rspamd.git +---- +no_galaxy: no +---- +galaxy_name: do1jlr.rspamd +---- +galaxy_url: +---- +maintainance: poor +---- +license: MIT --- tabletitle: List of my ansible roles and in which state they are. --- diff --git a/flowblocks/table.ini b/flowblocks/table.ini index 6e6ae70..721fa0a 100644 --- a/flowblocks/table.ini +++ b/flowblocks/table.ini @@ -7,18 +7,33 @@ label = Ansible Role Name type = string [fields.gitrepo] -label = Git Repo +label = Github Repo type = url +width = 1/2 + +[fields.gitearepo] +label = Gitea Repo +type = url +width = 1/2 + +[fields.no_galaxy] +label = Role has Galaxy +type = boolean +checkbox_label = Uncheck if role is not at galaxy +default = true +width = 1/8 [fields.galaxy_name] label = Ansible Galaxy Name +description = And Icons file Name type = string -width = 1/3 +width = 3/8 +default = do1jlr.template [fields.galaxy_url] label = Ansible Galaxy Address type = url -width = 2/3 +width = 1/2 [fields.maintainance] label = Maintainance Status diff --git a/templates/frontpage.html b/templates/frontpage.html index 32730ac..6cc8e59 100644 --- a/templates/frontpage.html +++ b/templates/frontpage.html @@ -19,7 +19,11 @@ {{ blk.name }} - + {% if blk.no_galaxy %} + + + + {% else %}-{% endif %}