https://github.com/devops-works/ansible-netplan
Simple Ansible role to enable DHCP with Netplan
https://github.com/devops-works/ansible-netplan
Last synced: 3 months ago
JSON representation
Simple Ansible role to enable DHCP with Netplan
- Host: GitHub
- URL: https://github.com/devops-works/ansible-netplan
- Owner: devops-works
- License: lgpl-3.0
- Created: 2020-05-13T18:57:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-09T15:01:03.000Z (over 4 years ago)
- Last Synced: 2025-04-06T06:37:51.366Z (about 1 year ago)
- Language: Jinja
- Size: 10.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-netplan
Simple Ansible role to configure netplan interfaces
## Variables
This roles will create interfaces based on `netplan_interfaces`.
Example:
```yaml
netplan_interfaces:
- name: eth0
dhcp4: true
- name: eth1
addresses:
- 1.2.3.4/32
- 5.6.7.8/24
```
## Author Information
[https://github.com/devops-works](https://github.com/devops-works)