Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
common
Commits
2c984631
Commit
2c984631
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible/playbooks/general#101
Install resolvconf and disable systemd.resolved
parent
86f8ca01
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/common.yml
+17
-0
17 additions, 0 deletions
tasks/common.yml
with
17 additions
and
0 deletions
tasks/common.yml
+
17
−
0
View file @
2c984631
...
...
@@ -16,6 +16,23 @@
group
:
root
mode
:
0440
# Regarding resolve service, see https://www.ctrl.blog/entry/resolvconf-tutorial.html
-
name
:
Install resolvconf
apt
:
pkg
:
'
{{
packages
}}'
state
:
present
update_cache
:
yes
vars
:
packages
:
-
resolvconf
-
name
:
Disable systemd.resolved
service
:
name
:
systemd-resolved
state
:
stopped
enabled
:
no
-
name
:
Configure resolv.conf
template
:
src
:
etc_resolv_conf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment