19 Commits

Author SHA1 Message Date
cd478abf28 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.2' (#13) from renovate/actions into master
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 49s
2025-08-21 16:04:36 +00:00
4c8dc572a6 chore(deps): update ansible/ansible-lint action to v25.8.2
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 3s
Ansible Linter / ansible-lint (push) Successful in 51s
Ansible Linter / ansible-lint (pull_request) Successful in 43s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
2025-08-21 16:01:51 +00:00
0cc341f270 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.1' (#12) from renovate/actions into master
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 14s
Lint Markdown files / markdown-lint (push) Successful in 3s
2025-08-14 01:03:33 +00:00
0cff9707b7 chore(deps): update ansible/ansible-lint action to v25.8.1
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 3s
Ansible Linter / ansible-lint (pull_request) Successful in 14s
Lint Markdown files / markdown-lint (pull_request) Successful in 16s
Ansible Linter / ansible-lint (push) Successful in 54s
2025-08-14 01:01:38 +00:00
602819140c Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.8.0' (#11) from renovate/actions into master
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 13s
Lint Markdown files / markdown-lint (push) Successful in 14s
2025-08-13 16:03:37 +00:00
20b5e777d8 chore(deps): update ansible/ansible-lint action to v25.8.0
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (pull_request) Successful in 13s
Lint Markdown files / markdown-lint (pull_request) Successful in 12s
Ansible Linter / ansible-lint (push) Successful in 53s
2025-08-13 16:01:36 +00:00
d5eec83c87 Merge pull request 'chore(deps): update actions/checkout action to v4.3.0' (#9) from renovate/actions into master
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 14s
Lint Markdown files / markdown-lint (push) Successful in 4s
2025-08-11 13:16:45 +00:00
d0903ad3cd chore(deps): update actions/checkout action to v4.3.0
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 52s
Lint Markdown files / markdown-lint (push) Successful in 8s
Ansible Linter / ansible-lint (pull_request) Successful in 52s
Lint Markdown files / markdown-lint (pull_request) Successful in 8s
2025-08-11 13:02:48 +00:00
9afbe53230 fix: adapt when condition
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 13s
Ansible Linter / ansible-lint (push) Successful in 52s
2025-08-10 20:12:50 +02:00
723eca2360 fix(templating): adapt lstrip_blocks
Some checks failed
Ansible Linter / ansible-lint (push) Successful in 1m2s
Lint Markdown files / markdown-lint (push) Failing after 10m6s
2025-08-10 18:16:08 +02:00
e6b32b1641 fix(ansible-galaxy): adapt indentation
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 52s
2025-08-06 16:10:29 +02:00
69c258a878 fix(ansible-galaxy): add namespace
Some checks failed
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Failing after 51s
2025-08-06 15:22:40 +02:00
e12087c54e fix(ansible-galaxy): adapt list of supported platforms
Some checks failed
Lint Markdown files / markdown-lint (push) Successful in 14s
Ansible Linter / ansible-lint (push) Failing after 45s
2025-08-06 11:44:57 +02:00
fcd61651c1 fix(ansible-galaxy): remove namespace
Some checks failed
Ansible Linter / ansible-lint (push) Failing after 31s
Lint Markdown files / markdown-lint (push) Successful in 11s
2025-08-06 11:39:28 +02:00
3e1c10f2e4 Merge pull request 'chore(deps): update ansible/ansible-lint action to v25.7.0' (#8) from renovate/actions into master
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 14s
Ansible Linter / ansible-lint (push) Successful in 48s
2025-07-29 22:08:20 +00:00
af4f7a738f chore(deps): update ansible/ansible-lint action to v25.7.0
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 13s
Ansible Linter / ansible-lint (push) Successful in 54s
Lint Markdown files / markdown-lint (pull_request) Successful in 14s
Ansible Linter / ansible-lint (pull_request) Successful in 54s
2025-07-29 22:02:38 +00:00
011ed35588 chore(deps): update ansible/ansible-lint action to v25.6.1
All checks were successful
Ansible Linter / ansible-lint (pull_request) Successful in 14s
Lint Markdown files / markdown-lint (pull_request) Successful in 21s
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 52s
2025-06-19 10:01:24 +00:00
820cfdfc7e chore(deps): update ansible/ansible-lint action to v25.6.0
All checks were successful
Lint Markdown files / markdown-lint (pull_request) Successful in 12s
Ansible Linter / ansible-lint (pull_request) Successful in 42s
Lint Markdown files / markdown-lint (push) Successful in 12s
Ansible Linter / ansible-lint (push) Successful in 43s
2025-06-17 19:01:18 +00:00
6d6006b556 docs(README): remove drone badge
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 13s
Lint Markdown files / markdown-lint (push) Successful in 4s
2025-06-01 12:27:34 +02:00
7 changed files with 20 additions and 25 deletions

View File

@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@v25.5.0
uses: ansible/ansible-lint@v25.8.2
with:
args: "--config-file .ansible-lint"
setup_python: "true"

View File

@ -12,7 +12,7 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v4.3.0
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
with:
globs: '**/*.md'

View File

@ -1,6 +1,5 @@
# networking
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/networking-role/status.svg)](https://drone.cryptic.systems/volker.raschek/networking-role)
[![Ansible Role](https://img.shields.io/ansible/role/d/58433)](https://galaxy.ansible.com/volker_raschek/networking)
With following role can the networking stack provided by systemd be configured.

View File

@ -1,25 +1,22 @@
dependencies: []
galaxy_info:
namespace: volker_raschek
role_name: networking
author: Markus Pesch
description: Role to configure network interfaces via systemd on different distributions
company: Cryptic Systems
description: Role to configure network interfaces via systemd on different distributions
license: MIT
min_ansible_version: "2.9"
namespace: volker-raschek
platforms:
- name: "ArchLinux"
- name: ArchLinux
versions:
- all
- name: "Ubuntu"
- name: EL
versions:
- all
- name: "Fedora"
- name: Fedora
versions:
- "35"
# galaxy_tags:
# - systemd-networkd
# - wiregurd
# - resolvectl
dependencies: []
- all
- name: Ubuntu
versions:
- all
role_name: networking

View File

@ -1,6 +1,6 @@
---
- name: Include OS-specific variables
- name: "Include OS-specific variables"
ansible.builtin.include_vars: "{{ ansible_os_family }}.yml"
- name: "Remove existing systemd-networkd configuration"
@ -25,9 +25,9 @@
owner: "{{ systemd_networkd_unix_user }}"
group: "{{ systemd_networkd_unix_user }}"
mode: "0644"
when: item.netdev_options is defined and
item.netdev_options | selectattr("key", "==", "Kind") and
item.netdev_options | selectattr("value", "!=", "wireguard")
when:
item.netdev_options is defined and
(item.netdev_options | selectattr('key', 'equalto', 'Kind') | map(attribute='value') | first) != 'wireguard'
with_items: "{{ systemd_networkd_netdev }}"
- name: Create sensitive systemd.netdev files
@ -38,8 +38,7 @@
group: "{{ systemd_networkd_unix_user }}"
mode: "0600"
when: item.netdev_options is defined and
item.netdev_options | selectattr("key", "equalto", "Kind") and
item.netdev_options | selectattr("value", "equalto", "wireguard")
(item.netdev_options | selectattr('key', 'equalto', 'Kind') | map(attribute='value') | first) == 'wireguard'
with_items: "{{ systemd_networkd_netdev }}"
no_log: true
notify: Restart networkd

View File

@ -1,4 +1,4 @@
#jinja2: lstrip_blocks: "True", trim_blocks: "True"
#jinja2: lstrip_blocks: True
#
# {{ ansible_managed }}
#

View File

@ -1,4 +1,4 @@
#jinja2: lstrip_blocks: "True", trim_blocks: "True"
#jinja2: lstrip_blocks: True
#
# {{ ansible_managed }}
#