Addinf roles and variable name

This commit is contained in:
L3D 2023-03-12 04:07:08 +01:00
parent 7b2d0513d9
commit a2223f3111
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 227 additions and 53 deletions

View file

@ -8,7 +8,7 @@ Hi there,
I love open source and automation. So I wrote some ansible roles and released them as open source. Feel free to have a look at them. And if you like them, feel free to use them. Leave a star at the repo or give me some feedback. I love open source and automation. So I wrote some ansible roles and released them as open source. Feel free to have a look at them. And if you like them, feel free to use them. Leave a star at the repo or give me some feedback.
--- ---
table: roles:
#### table #### #### table ####
name: Gitea and Forgejo name: Gitea and Forgejo
@ -27,11 +27,27 @@ maintainance: well
---- ----
license: BSD 3-Clause license: BSD 3-Clause
#### table #### #### table ####
name: Unbound name: weechat
----
gitrepo: https://github.com/roles-ansible/ansible_role_weechat.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_weechat.git
----
no_galaxy: true
----
galaxy_name: do1jlr.weechat
----
galaxy_url: https://galaxy.ansible.com/do1jlr/weechat
----
maintainance: well
----
license: MIT
#### table ####
name: unbound
---- ----
gitrepo: https://github.com/roles-ansible/ansible_role_unbound.git gitrepo: https://github.com/roles-ansible/ansible_role_unbound.git
---- ----
gitearepo: gitearepo: https://backwesen.de/ansible/ansible_role_unbound.git
---- ----
no_galaxy: true no_galaxy: true
---- ----
@ -43,73 +59,231 @@ maintainance: true
---- ----
license: MIT license: MIT
#### table #### #### table ####
name: OpenSSH Server name: acmetool
---- ----
gitrepo: https://github.com/roles-ansible/ansible_role_sshd.git gitrepo: https://github.com/roles-ansible/ansible_role_acmetool.git
---- ----
gitearepo: https://backwesen.de/ansible/ansible_role_sshd.git gitearepo: https://backwesen.de/ansible/ansible_role_acmetool.git
---- ----
no_galaxy: true no_galaxy: true
---- ----
galaxy_name: do1jlr.sshd galaxy_name: do1jlr.acmetool
---- ----
galaxy_url: https://galaxy.ansible.com/do1jlr/sshd galaxy_url: https://galaxy.ansible.com/do1jlr/acmetool
---- ----
maintainance: true maintainance: true
---- ----
license: MIT license: MIT
#### table #### #### table ####
name: name: nginx
Network Time Protocol
---- ----
gitrepo: https://github.com/roles-ansible/ansible_role_ntp.git gitrepo: https://github.com/do1jlr/ansible_role_nginx
---- ----
gitearepo: https://backwesen.de/ansible/ansible_role_ntp.git gitearepo: https://backwesen.de/ansible/ansible_role_nginx.git
----
no_galaxy: true
----
galaxy_name: do1jlr.ntp
----
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 no_galaxy: no
---- ----
galaxy_name: do1jlr.rspamd galaxy_name: do1jlr.nginx
----
galaxy_url:
----
maintainance: true
----
license: MIT
#### table ####
name: versioncheck
----
gitrepo: https://github.com/roles-ansible/ansible_role_versioncheck.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_versioncheck.git
----
no_galaxy: no
----
galaxy_name: do1jlr.versioncheck
----
galaxy_url:
----
maintainance: true
----
license: MIT
#### table ####
name: rtl_nic_firmware
----
gitrepo: https://github.com/roles-ansible/ansible_role_rtl_nic_firmware.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_rtl_nic_firmware.git
----
no_galaxy: true
----
galaxy_name: do1jlr.rtl_nic_firmware
----
galaxy_url: https://galaxy.ansible.com/do1jlr/rtl_nic_firmware
----
maintainance: true
----
license: MIT
#### table ####
name: postgresql-backup
----
gitrepo: https://github.com/roles-ansible/role-postgresql-backup.git
----
gitearepo: https://backwesen.de/ansible/role-postgresql-backup.git
----
no_galaxy: no
----
galaxy_name: do1jlr.postgresql_backup
----
galaxy_url:
----
maintainance: true
----
license: MIT
#### table ####
name: avahi_client
----
gitrepo: https://github.com/roles-ansible/ansible_role_avahi_client.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_avahi_client.git
----
no_galaxy: true
----
galaxy_name: do1jlr.avahi_client
----
galaxy_url: https://galaxy.ansible.com/do1jlr/avahi_client
----
maintainance: true
----
license: MIT
#### table ####
name: akku_warning
----
gitrepo: https://github.com/roles-ansible/role_akku_warning.git
----
gitearepo: https://backwesen.de/ansible/role_akku_warning
----
no_galaxy: true
----
galaxy_name: do1jlr.akku_warning
----
galaxy_url: https://galaxy.ansible.com/do1jlr/akku_warning
----
maintainance: true
----
license: MIT
#### table ####
name: avahi_daemon
----
gitrepo: https://github.com/roles-ansible/ansible_role_avahi_daemon.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_avahi_daemon.git
----
no_galaxy: true
----
galaxy_name: do1jlr.avahi_daemon
----
galaxy_url: https://galaxy.ansible.com/do1jlr/avahi_daemon
----
maintainance: true
----
license: MIT
#### table ####
name: amdgpu_firmware
----
gitrepo: https://github.com/roles-ansible/ansible_role_amdgpu_firmware.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_amdgpu_firmware.git
----
no_galaxy: true
----
galaxy_name: do1jlr.amdgpu_firmware
----
galaxy_url: https://galaxy.ansible.com/do1jlr/amdgpu_firmware
----
maintainance: true
----
license: MIT
#### table ####
name: iperf
----
gitrepo: https://github.com/roles-ansible/ansible_role_iperf.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_iperf.git
----
no_galaxy: true
----
galaxy_name: do1jlr.iperf
----
galaxy_url: https://galaxy.ansible.com/do1jlr/iperf
----
maintainance: true
----
license: MIT
#### table ####
name: acmetool_debian_fix
----
gitrepo: https://github.com/roles-ansible/ansible_role_acmetool_debian_fix.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_acmetool_debian_fix.git
----
no_galaxy: true
----
galaxy_name: do1jlr.acmetool_fix
----
galaxy_url: https://backwesen.de/ansible/ansible_role_acmetool_debian_fix.git
----
maintainance: poor
----
license: MIT
#### table ####
name: websvn
----
gitrepo: https://github.com/DO1JLR/ansible_role_websvn.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_websvn.git
----
no_galaxy: true
----
galaxy_name: do1jlr.websvn
---- ----
galaxy_url: galaxy_url:
---- ----
maintainance: poor maintainance: poor
---- ----
license: MIT license: MIT
#### table ####
name: xrandr_help
----
gitrepo: https://github.com/roles-ansible/ansible_role_xrandr_help.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_xrandr_help.git
----
no_galaxy: true
----
galaxy_name: do1jlr.xrandr_help
----
galaxy_url: https://galaxy.ansible.com/do1jlr/xrandr_help
----
maintainance: poor
----
license: MIT
#### table ####
name: resolvconf
----
gitrepo: https://github.com/roles-ansible/ansible_role_resolvconf.git
----
gitearepo: https://backwesen.de/ansible/ansible_role_resolvconf.git
----
no_galaxy: true
----
galaxy_name: do1jlr.resolvconf
----
galaxy_url: https://galaxy.ansible.com/do1jlr/resolvconf
----
maintainance: poor
----
license: MIT
--- ---
tabletitle: List of my ansible roles and in which state they are. tabletitle: List of my ansible roles
--- ---
pages: databag.array, name, template.html pages: databag.array, name, template.html
--- ---

View file

@ -16,7 +16,7 @@ type = markdown
label = Table Title label = Table Title
type = string type = string
[fields.table] [fields.roles]
label = Our Ansible Roles label = Our Ansible Roles
type = flow type = flow
flow_blocks = table flow_blocks = table

View file

@ -2,9 +2,9 @@
{% block title %}{{ this.title }}{% endblock %} {% block title %}{{ this.title }}{% endblock %}
{% block body %} {% block body %}
{{ this.body }} {{ this.body }}
{% if this.table is defined %} {% if this.roles is defined %}
{% if this.table.blocks | length != 0 %} {% if this.roles.blocks | length != 0 %}
<h2>{{ this. tabletitle }}</h2> <h2 id="roles">{{ this.tabletitle }}</h2>
<table> <table>
<thead> <thead>
<tr> <tr>
@ -15,7 +15,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for blk in this.table.blocks -%} {% for blk in this.roles.blocks -%}
<tr> <tr>
<th><a href="{{ blk.gitrepo }}" target="_blank">{{ blk.name }}</a></th> <th><a href="{{ blk.gitrepo }}" target="_blank">{{ blk.name }}</a></th>
<td> <td>