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
Branches
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 - name: ensure dns is configured
template: template:
...@@ -19,6 +18,14 @@ ...@@ -19,6 +18,14 @@
- dns - dns
- network - network
- name: ensure dbus is really available
systemd:
name: dbus.socket
state: started
tags:
- dns
- network
- name: ensure the hostname is not a fqdn - name: ensure the hostname is not a fqdn
hostname: hostname:
name: "{{ ansible_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