3
3
[ ![ GitHub Build Status] ( https://github.com/cisagov/ansible-role-systemd-resolved/workflows/build/badge.svg )] ( https://github.com/cisagov/ansible-role-systemd-resolved/actions )
4
4
[ ![ CodeQL] ( https://github.com/cisagov/ansible-role-systemd-resolved/workflows/CodeQL/badge.svg )] ( https://github.com/cisagov/ansible-role-systemd-resolved/actions/workflows/codeql-analysis.yml )
5
5
6
- This is a skeleton project that can be used to quickly get a new
7
- [ cisagov] ( https://github.com/cisagov ) Ansible role GitHub project
8
- started. This skeleton project contains
9
- [ licensing information] ( LICENSE ) , as well as
10
- [ pre-commit hooks] ( https://pre-commit.com ) and
11
- [ GitHub Actions] ( https://github.com/features/actions ) configurations
12
- appropriate for an Ansible role.
6
+ This is an Ansible role that installs and configures
7
+ [ ` systemd-resolved ` ] ( https://wiki.archlinux.org/title/systemd-resolved ) .
8
+ It performs the following actions:
9
+
10
+ - Installs ` systemd-resolved ` and ensures that ` resolvconf ` is not
11
+ installed.
12
+ - Creates an ` /etc/resolv.conf ` symlink that results in the
13
+ ` systemd-resolved ` stub DNS resolver being used by default for all
14
+ system DNS lookups.
13
15
14
16
## Requirements ##
15
17
@@ -61,18 +63,11 @@ Here's how to use it in a playbook:
61
63
become: true
62
64
become_method: sudo
63
65
tasks:
64
- - name: Include skeleton
66
+ - name: Include systemd-resolved
65
67
ansible.builtin.include_role:
66
- name: skeleton
68
+ name: systemd_resolved
67
69
` ` `
68
70
69
- # # New Repositories from a Skeleton ##
70
-
71
- Please see our [Project Setup guide](https://github.com/cisagov/development-guide/tree/develop/project_setup)
72
- for step-by-step instructions on how to start a new repository from
73
- a skeleton. This will save you time and effort when configuring a
74
- new repository!
75
-
76
71
# # Contributing ##
77
72
78
73
We welcome contributions! Please see [`CONTRIBUTING.md`](CONTRIBUTING.md) for
@@ -93,4 +88,4 @@ with this waiver of copyright interest.
93
88
94
89
# # Author Information ##
95
90
96
- First Last - <first.last @gwe.cisa.dhs.gov>
91
+ Shane Frasier - <jeremy.frasier @gwe.cisa.dhs.gov>
0 commit comments