{"id":20111506,"url":"https://github.com/openstack/ansible-role-systemd_networkd","last_synced_at":"2025-06-16T16:10:52.210Z","repository":{"id":66174576,"uuid":"125905424","full_name":"openstack/ansible-role-systemd_networkd","owner":"openstack","description":"Ansible role to manage systemd networkd. Mirror of code maintained at opendev.org.","archived":false,"fork":false,"pushed_at":"2025-06-02T22:27:50.000Z","size":205,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-03T12:27:03.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://opendev.org/openstack/ansible-role-systemd_networkd","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-03-19T18:50:50.000Z","updated_at":"2025-06-02T22:27:52.000Z","dependencies_parsed_at":"2024-01-08T20:28:06.649Z","dependency_job_id":"759d5709-80a2-4778-905e-ac5705036ff3","html_url":"https://github.com/openstack/ansible-role-systemd_networkd","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/openstack/ansible-role-systemd_networkd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fansible-role-systemd_networkd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fansible-role-systemd_networkd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fansible-role-systemd_networkd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fansible-role-systemd_networkd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openstack","download_url":"https://codeload.github.com/openstack/ansible-role-systemd_networkd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fansible-role-systemd_networkd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260194771,"owners_count":22972639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T18:16:21.098Z","updated_at":"2025-06-16T16:10:52.188Z","avatar_url":"https://github.com/openstack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Ansible systemd_networkd\n\nThis Ansible role configures systemd-networkd link, network, and netdev files.\n\nThis role requires the ``ansible-config_template`` collection to be available\non your local system.\n\nTo get collection you can use use the ``ansible-galaxy`` command on the\n``requirements.yml`` file.. You need to install collection **before**\nrunning this role.\n\n``` bash\n# ansible-galaxy install -r requirements.yml\n```\n\nRelease notes for the project can be found at:\n  https://docs.openstack.org/releasenotes/ansible-role-systemd_networkd\n\n\n----\n\n###### Example playbook\n\n\u003e See the \"defaults.yml\" file for a full list of all available options.\n\n``` yaml\n- name: Create a systemd-networkd interfaces\n  hosts: localhost\n  become: true\n  roles:\n    - role: \"systemd_networkd\"\n      systemd_netdevs:\n        - NetDev:\n            Name: dummy0\n            Kind: dummy\n        - NetDev:\n            Name: dummy1\n            Kind: dummy\n        - NetDev:\n            Name: bond0\n            Kind: bond\n          Bond:\n            Mode: 802.3ad\n            TransmitHashPolicy: layer3+4\n            MIIMonitorSec: 1s\n            LACPTransmitRate: fast\n        - NetDev:\n            Name: br-dummy\n            Kind: bridge\n      systemd_networks:\n        - interface: \"dummy0\"\n          bond: \"bond0\"\n          mtu: 9000\n        - interface: \"dummy1\"\n          bond: \"bond0\"\n          mtu: 9000\n        - interface: \"bond0\"\n          bridge: \"br-dummy\"\n          mtu: 9000\n        - interface: \"br-dummy\"\n          address: \"10.0.0.100\"\n          netmask: \"255.255.255.0\"\n          gateway: \"10.0.0.1\"\n          mtu: 9000\n          usedns: true\n          static_routes:\n            - Gateway: \"10.1.0.1\"\n              Destination: \"10.1.0.0/24\"\n            - Gateway: \"192.168.0.1\"\n              Table: 100\n          routing_rules:\n            - IncomingInterface: bond1\n              Priority: 900\n              Table: 100\n          config_overrides:\n            Network:\n              ConfigureWithoutCarrier: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenstack%2Fansible-role-systemd_networkd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenstack%2Fansible-role-systemd_networkd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenstack%2Fansible-role-systemd_networkd/lists"}