Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ait-testbed/atb-ansible-disableresolved
Disables systemd-resolved and create the file /etc/resolve.conf
https://github.com/ait-testbed/atb-ansible-disableresolved
aecid ansible ansible-role atb dns nameserver resolved role systemd testbed
Last synced: 13 days ago
JSON representation
Disables systemd-resolved and create the file /etc/resolve.conf
- Host: GitHub
- URL: https://github.com/ait-testbed/atb-ansible-disableresolved
- Owner: ait-testbed
- Created: 2023-05-31T11:10:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-31T11:13:34.000Z (over 1 year ago)
- Last Synced: 2024-11-09T21:12:45.873Z (2 months ago)
- Topics: aecid, ansible, ansible-role, atb, dns, nameserver, resolved, role, systemd, testbed
- Language: Jinja
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ansible-Role: Disable Resolved
==============================This role disables systemd-resolved and create the file /etc/resolv.conf
Requirements
------------Any Linux with systemd.
Role Variables
--------------```
disableresolved_template: resolv.conf.j2
disableresolved_header: "# CREATED WITH ANSIBLE"
disableresolved_nameservers:
- 8.8.8.8
- 9.9.9.9
```Dependencies
------------None
Example Playbook
----------------```
- hosts: localhost
roles:
- role: disableresolved
vars:
disableresolved_nameservers:
- 192.168.0.1
```License
-------GPL-3.0
Author Information
------------------Wolfgang Hotwagner (https://www.ait.ac.at)