Skip to content
Snippets Groups Projects
Commit f5716e81 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

basic-system/network: Ensure dbus is really available for hostnamectl

Installing `dbus` does not start the service, even though it is enabled through
a symlink in /lib/systemd/system/sockets.target.wants.
parent 6088b585
No related branches found
No related tags found
1 merge request!21basic-system/network: Ensure dbus is really available for hostnamectl
Pipeline #4313 passed
---
# file: roles/common/tasks/dns.yml
- name: ensure dns is configured
template:
......@@ -19,6 +18,14 @@
- dns
- network
- name: ensure dbus is really available
systemd:
name: dbus.socket
state: started
tags:
- dns
- network
- name: ensure the hostname is not a fqdn
hostname:
name: "{{ ansible_hostname }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment