1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_rustdesk.git synced 2024-08-16 10:19:48 +02:00

Initial commit

This commit is contained in:
L3D 2024-02-17 23:23:33 +01:00 committed by GitHub
commit ed92a3b92d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 495 additions and 0 deletions

20
.github/.galaxy.yml vendored Normal file
View file

@ -0,0 +1,20 @@
---
name: Galaxy release
# yamllint disable-line rule:truthy
on:
push:
branches: ['main']
release:
types: ['created']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: galaxy
uses: robertdebock/galaxy-action@1.1.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}

6
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,6 @@
---
# Feel free to add yourself if you maintain this repo
# or participate in a way that you have the feeling that you belong there ;-)
github: [do1jlr]
liberapay: L3D

9
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,9 @@
---
# See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

59
.github/galaxy.svg vendored Normal file
View file

@ -0,0 +1,59 @@
<svg width="192.22" height="20.078" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<style/>
<defs>
<linearGradient id="linearGradient891" x1="170.83" x2="170.83" y1="-5.6998" y2="-16.76" gradientTransform="translate(0,20)" gradientUnits="userSpaceOnUse">
<stop stop-color="#480900" stop-opacity=".4549" offset="0"/>
<stop stop-color="#d2d2d2" stop-opacity="0" offset="1"/>
</linearGradient>
<filter id="filter923" x="-.0021966" y="-.018085" width="1.0044" height="1.0362" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.082526871"/>
</filter>
<filter id="filter927" x="-.0025127" y="-.018605" width="1.005" height="1.0372" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.082526871"/>
</filter>
</defs>
<clipPath id="a">
<rect width="102" height="20" rx="3" fill="#fff"/>
</clipPath>
<g>
<path d="m188.84 0h-104.56v20h104.56c1.8715 0 3.3782-1.5067 3.3782-3.3782v-13.244c0-1.8715-1.5067-3.3782-3.3782-3.3782z" fill="#f60" style="paint-order:stroke fill markers"/>
<path d="m3.3782 0h84.558v20h-84.558c-1.8715 0-3.3782-1.5067-3.3782-3.3782v-13.244c0-1.8715 1.5067-3.3782 3.3782-3.3782z" fill="#4d4d4d" style="paint-order:stroke fill markers"/>
<rect x="4.602e-15" width="192.17" height="20.078" ry="3.3782" fill="url(#linearGradient891)" style="paint-order:stroke fill markers"/>
</g>
<g>
<g transform="translate(0 .81938)" fill="#010101" fill-opacity=".66791" filter="url(#filter927)" stroke-width=".1" aria-label="ansible-galaxy">
<path d="m10.162 11.088q-1.1978 0-1.6597 0.27393-0.46191 0.27393-0.46191 0.93457 0 0.52637 0.34375 0.83789 0.34912 0.30615 0.94531 0.30615 0.82178 0 1.3159-0.58008 0.49951-0.58545 0.49951-1.5522v-0.22022zm1.9712-0.4082v3.4321h-0.98828v-0.91309q-0.33838 0.54785-0.84326 0.81104-0.50488 0.25781-1.2354 0.25781-0.92383 0-1.4717-0.51562-0.54248-0.521-0.54248-1.3911 0-1.0151 0.67676-1.5308 0.68213-0.51562 2.0303-0.51562h1.3857v-0.09668q0-0.68213-0.45117-1.0527-0.4458-0.37598-1.2568-0.37598-0.51562 0-1.0044 0.12354-0.48877 0.12354-0.93994 0.37061v-0.91309q0.54248-0.20947 1.0527-0.31152 0.51025-0.10742 0.99365-0.10742 1.3052 0 1.9497 0.67676t0.64453 2.0518z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m19.169 10.481v3.6309h-0.98828v-3.5986q0-0.854-0.33301-1.2783t-0.99902-0.42432q-0.80029 0-1.2622 0.51025t-0.46191 1.3911v3.3999h-0.99365v-6.0156h0.99365v0.93457q0.35449-0.54248 0.83252-0.81104 0.4834-0.26855 1.1118-0.26855 1.0366 0 1.5684 0.64453 0.53174 0.63916 0.53174 1.8853z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m24.975 8.2737v0.93457q-0.41894-0.21484-0.87012-0.32227t-0.93457-0.10742q-0.73584 0-1.1064 0.22559-0.36523 0.22559-0.36523 0.67676 0 0.34375 0.26318 0.54248 0.26318 0.19336 1.0581 0.3706l0.33838 0.0752q1.0527 0.22559 1.4932 0.63916 0.4458 0.4082 0.4458 1.144 0 0.83789-0.66602 1.3267-0.66064 0.48877-1.8208 0.48877-0.4834 0-1.0098-0.09668-0.521-0.09131-1.1011-0.2793v-1.0205q0.54785 0.28467 1.0796 0.42969 0.53174 0.13965 1.0527 0.13965 0.69824 0 1.0742-0.23633 0.37598-0.2417 0.37598-0.67676 0-0.40283-0.27393-0.61768-0.26855-0.21484-1.187-0.41357l-0.34375-0.08057q-0.91846-0.19336-1.3267-0.59082-0.4082-0.40283-0.4082-1.1011 0-0.84863 0.60156-1.3105 0.60156-0.46191 1.708-0.46191 0.54785 0 1.0312 0.080566 0.4834 0.080566 0.8916 0.2417z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m26.871 8.0965h0.98828v6.0156h-0.98828zm0-2.3418h0.98828v1.2515h-0.98828z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m34.246 11.11q0-1.0903-0.45117-1.708-0.4458-0.62305-1.23-0.62305-0.78418 0-1.2354 0.62305-0.4458 0.61768-0.4458 1.708t0.4458 1.7134q0.45117 0.61768 1.2354 0.61768 0.78418 0 1.23-0.61768 0.45117-0.62305 0.45117-1.7134zm-3.3623-2.1001q0.31152-0.53711 0.78418-0.79492 0.47803-0.26318 1.1387-0.26318 1.0957 0 1.7778 0.87012 0.6875 0.87012 0.6875 2.2881 0 1.418-0.6875 2.2881-0.68213 0.87012-1.7778 0.87012-0.66064 0-1.1387-0.25781-0.47266-0.26318-0.78418-0.80029v0.90234h-0.99365v-8.3574h0.99365z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m36.91 5.7547h0.98828v8.3574h-0.98828z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m45.111 10.857v0.4834h-4.5439q0.06445 1.0205 0.6123 1.5576 0.55322 0.53174 1.5361 0.53174 0.56934 0 1.1011-0.13965 0.53711-0.13965 1.0635-0.41894v0.93457q-0.53174 0.22559-1.0903 0.34375-0.55859 0.11816-1.1333 0.11816-1.4395 0-2.2827-0.83789-0.83789-0.83789-0.83789-2.2666 0-1.4771 0.79492-2.3418 0.80029-0.87012 2.1538-0.87012 1.2139 0 1.9175 0.78418 0.70898 0.77881 0.70898 2.1216zm-0.98828-0.29004q-0.010742-0.81104-0.45654-1.2944-0.44043-0.4834-1.1709-0.4834-0.82715 0-1.3267 0.46729-0.49414 0.46729-0.56934 1.3159z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m46.234 10.659h2.895v0.88086h-2.895z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m54.661 11.034q0-1.0742-0.4458-1.665-0.44043-0.59082-1.2407-0.59082-0.79492 0-1.2407 0.59082-0.44043 0.59082-0.44043 1.665 0 1.0688 0.44043 1.6597 0.4458 0.59082 1.2407 0.59082 0.80029 0 1.2407-0.59082 0.4458-0.59082 0.4458-1.6597zm0.98828 2.3311q0 1.5361-0.68213 2.2827-0.68213 0.75195-2.0894 0.75195-0.521 0-0.98291-0.08057-0.46191-0.0752-0.89697-0.23633v-0.96143q0.43506 0.23633 0.85938 0.34912 0.42432 0.11279 0.86475 0.11279 0.97217 0 1.4556-0.51025 0.4834-0.50488 0.4834-1.5308v-0.48877q-0.30615 0.53174-0.78418 0.79492-0.47803 0.26318-1.144 0.26318-1.1064 0-1.7832-0.84326-0.67676-0.84326-0.67676-2.2344 0-1.3965 0.67676-2.2397 0.67676-0.84326 1.7832-0.84326 0.66602 0 1.144 0.26318 0.47803 0.26318 0.78418 0.79492v-0.91309h0.98828z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m60.419 11.088q-1.1978 0-1.6597 0.27393t-0.46191 0.93457q0 0.52637 0.34375 0.83789 0.34912 0.30615 0.94531 0.30615 0.82178 0 1.3159-0.58008 0.49951-0.58545 0.49951-1.5522v-0.22022zm1.9712-0.4082v3.4321h-0.98828v-0.91309q-0.33838 0.54785-0.84326 0.81104-0.50488 0.25781-1.2354 0.25781-0.92383 0-1.4717-0.51562-0.54248-0.521-0.54248-1.3911 0-1.0151 0.67676-1.5308 0.68213-0.51562 2.0303-0.51562h1.3857v-0.09668q0-0.68213-0.45117-1.0527-0.4458-0.37598-1.2568-0.37598-0.51562 0-1.0044 0.12354-0.48877 0.12354-0.93994 0.37061v-0.91308q0.54248-0.20947 1.0527-0.31152 0.51025-0.10742 0.99365-0.10742 1.3052 0 1.9497 0.67676t0.64453 2.0518z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m64.426 5.7547h0.98828v8.3574h-0.98828z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m70.216 11.088q-1.1978 0-1.6597 0.27393t-0.46191 0.93457q0 0.52637 0.34375 0.83789 0.34912 0.30615 0.94531 0.30615 0.82178 0 1.3159-0.58008 0.49951-0.58545 0.49951-1.5522v-0.22022zm1.9712-0.4082v3.4321h-0.98828v-0.91309q-0.33838 0.54785-0.84326 0.81104-0.50488 0.25781-1.2354 0.25781-0.92383 0-1.4717-0.51562-0.54248-0.521-0.54248-1.3911 0-1.0151 0.67676-1.5308 0.68213-0.51562 2.0303-0.51562h1.3857v-0.09668q0-0.68213-0.45117-1.0527-0.4458-0.37598-1.2568-0.37598-0.51562 0-1.0044 0.12354-0.48877 0.12354-0.93994 0.37061v-0.91308q0.54248-0.20947 1.0527-0.31152 0.51025-0.10742 0.99365-0.10742 1.3052 0 1.9497 0.67676t0.64453 2.0518z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m79.223 8.0965-2.1753 2.9272 2.2881 3.0884h-1.1655l-1.751-2.3633-1.751 2.3633h-1.1655l2.3364-3.1475-2.1377-2.8682h1.1655l1.5952 2.1431 1.5952-2.1431z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m83.235 14.671q-0.41894 1.0742-0.81641 1.4019t-1.0635 0.32764h-0.78955v-0.82715h0.58008q0.4082 0 0.63379-0.19336 0.22559-0.19336 0.49951-0.91309l0.17725-0.45117-2.4331-5.9189h1.0474l1.8799 4.7051 1.8799-4.7051h1.0474z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
</g>
<g fill="#fff" aria-label="ansible-galaxy">
<path d="m10.162 11.088q-1.1978 0-1.6597 0.27393-0.46191 0.27393-0.46191 0.93457 0 0.52637 0.34375 0.83789 0.34912 0.30615 0.94531 0.30615 0.82178 0 1.3159-0.58008 0.49951-0.58545 0.49951-1.5522v-0.22022zm1.9712-0.4082v3.4321h-0.98828v-0.91309q-0.33838 0.54785-0.84326 0.81104-0.50488 0.25781-1.2354 0.25781-0.92383 0-1.4717-0.51562-0.54248-0.521-0.54248-1.3911 0-1.0151 0.67676-1.5308 0.68213-0.51562 2.0303-0.51562h1.3857v-0.09668q0-0.68213-0.45117-1.0527-0.4458-0.37598-1.2568-0.37598-0.51562 0-1.0044 0.12354-0.48877 0.12354-0.93994 0.37061v-0.91309q0.54248-0.20947 1.0527-0.31152 0.51025-0.10742 0.99365-0.10742 1.3052 0 1.9497 0.67676t0.64453 2.0518z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m19.169 10.481v3.6309h-0.98828v-3.5986q0-0.854-0.33301-1.2783t-0.99902-0.42432q-0.80029 0-1.2622 0.51025t-0.46191 1.3911v3.3999h-0.99365v-6.0156h0.99365v0.93457q0.35449-0.54248 0.83252-0.81104 0.4834-0.26855 1.1118-0.26855 1.0366 0 1.5684 0.64453 0.53174 0.63916 0.53174 1.8853z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m24.975 8.2737v0.93457q-0.41894-0.21484-0.87012-0.32227t-0.93457-0.10742q-0.73584 0-1.1064 0.22559-0.36523 0.22559-0.36523 0.67676 0 0.34375 0.26318 0.54248 0.26318 0.19336 1.0581 0.3706l0.33838 0.0752q1.0527 0.22559 1.4932 0.63916 0.4458 0.4082 0.4458 1.144 0 0.83789-0.66602 1.3267-0.66064 0.48877-1.8208 0.48877-0.4834 0-1.0098-0.09668-0.521-0.09131-1.1011-0.2793v-1.0205q0.54785 0.28467 1.0796 0.42969 0.53174 0.13965 1.0527 0.13965 0.69824 0 1.0742-0.23633 0.37598-0.2417 0.37598-0.67676 0-0.40283-0.27393-0.61768-0.26855-0.21484-1.187-0.41357l-0.34375-0.08057q-0.91846-0.19336-1.3267-0.59082-0.4082-0.40283-0.4082-1.1011 0-0.84863 0.60156-1.3105 0.60156-0.46191 1.708-0.46191 0.54785 0 1.0312 0.080566 0.4834 0.080566 0.8916 0.2417z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m26.871 8.0965h0.98828v6.0156h-0.98828zm0-2.3418h0.98828v1.2515h-0.98828z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m34.246 11.11q0-1.0903-0.45117-1.708-0.4458-0.62305-1.23-0.62305-0.78418 0-1.2354 0.62305-0.4458 0.61768-0.4458 1.708t0.4458 1.7134q0.45117 0.61768 1.2354 0.61768 0.78418 0 1.23-0.61768 0.45117-0.62305 0.45117-1.7134zm-3.3623-2.1001q0.31152-0.53711 0.78418-0.79492 0.47803-0.26318 1.1387-0.26318 1.0957 0 1.7778 0.87012 0.6875 0.87012 0.6875 2.2881 0 1.418-0.6875 2.2881-0.68213 0.87012-1.7778 0.87012-0.66064 0-1.1387-0.25781-0.47266-0.26318-0.78418-0.80029v0.90234h-0.99365v-8.3574h0.99365z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m36.91 5.7547h0.98828v8.3574h-0.98828z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m45.111 10.857v0.4834h-4.5439q0.06445 1.0205 0.6123 1.5576 0.55322 0.53174 1.5361 0.53174 0.56934 0 1.1011-0.13965 0.53711-0.13965 1.0635-0.41894v0.93457q-0.53174 0.22559-1.0903 0.34375-0.55859 0.11816-1.1333 0.11816-1.4395 0-2.2827-0.83789-0.83789-0.83789-0.83789-2.2666 0-1.4771 0.79492-2.3418 0.80029-0.87012 2.1538-0.87012 1.2139 0 1.9175 0.78418 0.70898 0.77881 0.70898 2.1216zm-0.98828-0.29004q-0.010742-0.81104-0.45654-1.2944-0.44043-0.4834-1.1709-0.4834-0.82715 0-1.3267 0.46729-0.49414 0.46729-0.56934 1.3159z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m46.234 10.659h2.895v0.88086h-2.895z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m54.661 11.034q0-1.0742-0.4458-1.665-0.44043-0.59082-1.2407-0.59082-0.79492 0-1.2407 0.59082-0.44043 0.59082-0.44043 1.665 0 1.0688 0.44043 1.6597 0.4458 0.59082 1.2407 0.59082 0.80029 0 1.2407-0.59082 0.4458-0.59082 0.4458-1.6597zm0.98828 2.3311q0 1.5361-0.68213 2.2827-0.68213 0.75195-2.0894 0.75195-0.521 0-0.98291-0.08057-0.46191-0.0752-0.89697-0.23633v-0.96143q0.43506 0.23633 0.85938 0.34912 0.42432 0.11279 0.86475 0.11279 0.97217 0 1.4556-0.51025 0.4834-0.50488 0.4834-1.5308v-0.48877q-0.30615 0.53174-0.78418 0.79492-0.47803 0.26318-1.144 0.26318-1.1064 0-1.7832-0.84326-0.67676-0.84326-0.67676-2.2344 0-1.3965 0.67676-2.2397 0.67676-0.84326 1.7832-0.84326 0.66602 0 1.144 0.26318 0.47803 0.26318 0.78418 0.79492v-0.91309h0.98828z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m60.419 11.088q-1.1978 0-1.6597 0.27393t-0.46191 0.93457q0 0.52637 0.34375 0.83789 0.34912 0.30615 0.94531 0.30615 0.82178 0 1.3159-0.58008 0.49951-0.58545 0.49951-1.5522v-0.22022zm1.9712-0.4082v3.4321h-0.98828v-0.91309q-0.33838 0.54785-0.84326 0.81104-0.50488 0.25781-1.2354 0.25781-0.92383 0-1.4717-0.51562-0.54248-0.521-0.54248-1.3911 0-1.0151 0.67676-1.5308 0.68213-0.51562 2.0303-0.51562h1.3857v-0.09668q0-0.68213-0.45117-1.0527-0.4458-0.37598-1.2568-0.37598-0.51562 0-1.0044 0.12354-0.48877 0.12354-0.93994 0.37061v-0.91308q0.54248-0.20947 1.0527-0.31152 0.51025-0.10742 0.99365-0.10742 1.3052 0 1.9497 0.67676t0.64453 2.0518z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m64.426 5.7547h0.98828v8.3574h-0.98828z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m70.216 11.088q-1.1978 0-1.6597 0.27393t-0.46191 0.93457q0 0.52637 0.34375 0.83789 0.34912 0.30615 0.94531 0.30615 0.82178 0 1.3159-0.58008 0.49951-0.58545 0.49951-1.5522v-0.22022zm1.9712-0.4082v3.4321h-0.98828v-0.91309q-0.33838 0.54785-0.84326 0.81104-0.50488 0.25781-1.2354 0.25781-0.92383 0-1.4717-0.51562-0.54248-0.521-0.54248-1.3911 0-1.0151 0.67676-1.5308 0.68213-0.51562 2.0303-0.51562h1.3857v-0.09668q0-0.68213-0.45117-1.0527-0.4458-0.37598-1.2568-0.37598-0.51562 0-1.0044 0.12354-0.48877 0.12354-0.93994 0.37061v-0.91308q0.54248-0.20947 1.0527-0.31152 0.51025-0.10742 0.99365-0.10742 1.3052 0 1.9497 0.67676t0.64453 2.0518z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m79.223 8.0965-2.1753 2.9272 2.2881 3.0884h-1.1655l-1.751-2.3633-1.751 2.3633h-1.1655l2.3364-3.1475-2.1377-2.8682h1.1655l1.5952 2.1431 1.5952-2.1431z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
<path d="m83.235 14.671q-0.41894 1.0742-0.81641 1.4019t-1.0635 0.32764h-0.78955v-0.82715h0.58008q0.4082 0 0.63379-0.19336 0.22559-0.19336 0.49951-0.91309l0.17725-0.45117-2.4331-5.9189h1.0474l1.8799 4.7051 1.8799-4.7051h1.0474z" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal"/>
</g>
<text x="92.459076" y="14.839545" dominant-baseline="auto" fill="#010101" fill-opacity=".66791" filter="url(#filter923)" font-family="'DejaVu Sans', Verdana, Geneva, sans-serif" font-size="11px" stroke-width=".1" text-anchor="middle" style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;line-height:normal;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal" xml:space="preserve"><tspan x="92.459076" y="14.839545" fill="#010101" fill-opacity=".66791" text-anchor="start">do1jlr.role_name</tspan></text>
<text x="92.459076" y="14.291504" fill="#ffffff" font-family="'DejaVu Sans', Verdana, Geneva, sans-serif" font-size="11px" letter-spacing="0px" word-spacing="0px" style="font-feature-settings:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal;line-height:1.25" xml:space="preserve"><tspan x="92.459076" y="14.291504">do1jlr.role_name</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 17 KiB

217
.github/license.svg vendored Normal file
View file

@ -0,0 +1,217 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="83.946869"
height="20.137625"
version="1.1"
id="svg28"
sodipodi:docname="license.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata34">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<cc:license
rdf:resource="MIT (c) L3D &lt;l3d@c3woc.de&gt;" />
<dc:creator>
<cc:Agent>
<dc:title>3D &lt;l3d@c3woc.de&gt;</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>MIT License</dc:title>
</cc:Agent>
</dc:rights>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs32">
<linearGradient
inkscape:collect="always"
xlink:href="#b"
id="linearGradient4625"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(4.9067096,0,0,0.44280744,1.0963297e-6,-1e-6)"
x1="0"
y1="-0.28392482"
x2="0"
y2="45.166359" />
<linearGradient
inkscape:collect="always"
xlink:href="#b"
id="linearGradient837"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(4.9067096,0,0,0.44280744,1.0963297e-6,-1e-6)"
x1="0"
y1="-0.28392482"
x2="0"
y2="45.166359" />
<linearGradient
inkscape:collect="always"
xlink:href="#b"
id="linearGradient839"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(4.9067096,0,0,0.44280744,1.0963297e-6,-1e-6)"
x1="0"
y1="-0.28392482"
x2="0"
y2="45.166359" />
</defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1916"
inkscape:window-height="1152"
id="namedview30"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:zoom="7.5888761"
inkscape:cx="39.713668"
inkscape:cy="14.182162"
inkscape:window-x="2560"
inkscape:window-y="22"
inkscape:window-maximized="0"
inkscape:current-layer="svg28"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0">
<sodipodi:guide
position="47.649406,5.8374226"
orientation="0,1"
id="guide4567"
inkscape:locked="false" />
</sodipodi:namedview>
<linearGradient
id="b"
x2="0"
y2="45.166359"
gradientTransform="scale(2.258318,0.44280744)"
x1="0"
y1="-0.28392482"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
stop-color="#bbb"
stop-opacity=".1"
id="stop2" />
<stop
offset="1"
stop-opacity=".1"
id="stop4" />
</linearGradient>
<clipPath
id="a">
<rect
width="102"
height="20"
rx="3"
id="rect7"
x="0"
y="0"
style="fill:#ffffff" />
</clipPath>
<path
sodipodi:nodetypes="sccssss"
inkscape:connector-curvature="0"
id="path4637"
d="M 80.55806,0 H 48 v 20 h 32.55806 c 1.87153,0 3.378212,-1.506683 3.378212,-3.378212 V 3.3782117 C 83.936272,1.5066824 82.42959,0 80.55806,0 Z"
style="opacity:1;vector-effect:none;fill:#0055d4;fill-opacity:1;stroke:none;stroke-width:1.4740175;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke fill markers" />
<path
style="opacity:1;vector-effect:none;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1.4740175;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke fill markers"
d="M 3.3782117,0 H 49.936272 V 20 H 3.3782117 C 1.5066824,20 0,18.493317 0,16.621788 V 3.3782117 C 0,1.5066824 1.5066824,0 3.3782117,0 Z"
id="rect4634"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sccssss" />
<rect
ry="3.3782117"
y="0"
x="4.6019753e-15"
height="20.137625"
width="83.946869"
id="rect4641"
style="opacity:1;vector-effect:none;fill:url(#linearGradient837);fill-opacity:1;stroke:none;stroke-width:1.4740175;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke fill markers" />
<rect
style="opacity:1;vector-effect:none;fill:url(#linearGradient839);fill-opacity:1;stroke:none;stroke-width:1.4740175;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke fill markers"
id="rect833"
width="83.946869"
height="20.137625"
x="4.6019753e-15"
y="0"
ry="3.3782117" />
<rect
ry="3.3782117"
y="0"
x="4.6019753e-15"
height="20.137625"
width="83.946869"
id="rect835"
style="opacity:1;vector-effect:none;fill:url(#linearGradient4625);fill-opacity:1;stroke:none;stroke-width:1.4740175;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke fill markers" />
<g
id="g4591"
transform="translate(6.0000004,0.1778004)">
<text
id="text4551"
y="15.101547"
x="49.939278"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'DejaVu Sans', Verdana, Geneva, sans-serif;-inkscape-font-specification:'DejaVu Sans, Verdana, Geneva, sans-serif, Normal';font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;opacity:1;vector-effect:none;fill:#000000;fill-opacity:0.3;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:'DejaVu Sans', Verdana, Geneva, sans-serif;-inkscape-font-specification:'DejaVu Sans, Verdana, Geneva, sans-serif, Normal';font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;vector-effect:none;fill:#000000;fill-opacity:0.3;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
y="15.101547"
x="49.939278"
id="tspan4549"
sodipodi:role="line">MIT</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none"
x="59.774261"
y="14.119328"
id="text4547"><tspan
sodipodi:role="line"
id="tspan4545"
x="59.774261"
y="14.119328"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;font-family:'DejaVu Sans', Verdana, Geneva, sans-serif;-inkscape-font-specification:'DejaVu Sans, Verdana, Geneva, sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff">MIT</tspan></text>
</g>
<g
id="g4595"
transform="translate(3.9474745e-7,0.1778004)">
<text
x="245"
y="150"
transform="scale(0.1)"
textLength="370"
id="text18"
lengthAdjust="spacing"
style="font-size:110px;font-family:'DejaVu Sans', Verdana, Geneva, sans-serif;text-anchor:middle;fill:#010101;fill-opacity:0.3">license</text>
<text
x="245"
y="140"
transform="scale(0.1)"
textLength="370"
id="text20"
lengthAdjust="spacing"
style="font-size:110px;font-family:'DejaVu Sans', Verdana, Geneva, sans-serif;text-anchor:middle;fill:#ffffff">license</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.5 KiB

View file

@ -0,0 +1,22 @@
---
name: Ansible Lint check
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Run ansible-lint
uses: ansible-actions/ansible-lint-action@v1.0.2
with:
target: "./"

24
.github/workflows/galaxy.yml vendored Normal file
View file

@ -0,0 +1,24 @@
---
name: Galaxy-NG Roles Import
# yamllint disable-line rule:truthy
on:
release:
types: ['created']
jobs:
build:
name: Galaxy Role Importer
runs-on: ubuntu-latest
steps:
- name: 'Checkout git repo'
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: 'Release on galaxy'
uses: ansible-actions/ansible-galaxy-action@v1.2.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}

22
.github/workflows/j2lint-check.yml vendored Normal file
View file

@ -0,0 +1,22 @@
---
name: Jinja2 Linting check
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
name: Jinja2 Linting
runs-on: ubuntu-latest
steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Run j2lint
uses: ansible-actions/j2lint-action@v0.0.1
with:
target: "./"

22
.github/workflows/yamllint-check.yml vendored Normal file
View file

@ -0,0 +1,22 @@
---
name: Yamllint check
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
name: Yamllint
runs-on: ubuntu-latest
steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Run yamllint
uses: ansible-actions/yamllint-action@v0.0.1
with:
target: "./"

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
# Ansible-Linting
.cache

8
.yamllint Normal file
View file

@ -0,0 +1,8 @@
---
extends: default
rules:
# 150 chars should be enough, but don't fail if a line is longer
line-length:
max: 150
level: warning

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 L3D <l3d@c3woc.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

7
README.md Normal file
View file

@ -0,0 +1,7 @@
[![Ansible Galaxy](https://ansible.l3d.space/svg/$namespace.$role.svg)](https://galaxy.ansible.com/ui/standalone/roles/$namespace/$role/)
[![BSD-3 Clause](https://ansible.l3d.space/svg/$namespace.$role_license.svg)](LICENSE)
[![Maintainance](https://ansible.l3d.space/svg/$namespace.$role_maintainance.svg)](https://ansible.l3d.space/#$namespace.$role)
ansible_role_template
=======================
Template for Ansible roles

3
defaults/main.yml Normal file
View file

@ -0,0 +1,3 @@
---
# should we do a version check? (recomended)
submodules_versioncheck: false

5
tasks/main.yml Normal file
View file

@ -0,0 +1,5 @@
---
- name: Run optional versionscheck
ansible.builtin.include_tasks:
file: 'versioncheck.yml'
when: submodules_versioncheck | bool

44
tasks/versioncheck.yml Normal file
View file

@ -0,0 +1,44 @@
---
# Copyright (c) 2021 L3D <l3d@c3woc.de>
# this file is released with the MIT license.
# License: https://github.com/roles-ansible/ansible_role_template/blob/main/LICENSE
- name: Create directory for versionscheck
become: true
ansible.builtin.file:
path: '/etc/.ansible-version'
state: directory
mode: '0755'
when: submodules_versioncheck | bool
- name: Check playbook version
become: true
ansible.builtin.slurp:
src: "/etc/.ansible-version/{{ playbook_version_path }}"
register: playbook_version
when: submodules_versioncheck | bool
failed_when: false
- name: Print remote role version # noqa: H500
ansible.builtin.debug:
msg: "Remote role version: {{ playbook_version.content | default('Y3VycmVudGx5IG5vdCBkZXBsb3llZAo=') | b64decode | string }}"
when: submodules_versioncheck | bool
- name: Print locale role version # noqa: H500
ansible.builtin.debug:
msg: "Local role version: '{{ playbook_version_number | string }}'."
when: submodules_versioncheck | bool
- name: Check if your version is outdated
ansible.builtin.fail:
msg: "Your ansible module has the version '{{ playbook_version_number }}' and is outdated. You need to update it!"
when:
- playbook_version.content|default("Mgo=")|b64decode|int - 1 >= playbook_version_number|int and submodules_versioncheck | bool
- name: Write new version to remote disk
become: true
ansible.builtin.copy:
content: "{{ playbook_version_number }}"
dest: "/etc/.ansible-version/{{ playbook_version_path }}"
mode: '0644'
when: submodules_versioncheck | bool
tags: skip_ansible_lint_template-instead-of-copy

4
vars/main.yml Normal file
View file

@ -0,0 +1,4 @@
---
# versionscheck
playbook_version_number: 02 # should be a integer
playbook_version_path: 'role-<some_unique_string>.version'