Refactor builtin.systemd to builtin.systemd_service

Add condition for setting hostname
This commit is contained in:
waal70
2025-10-07 22:57:21 +02:00
parent e8f4d3632d
commit 70ebfadeb9
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
update_cache: true
- name: Restart systemd-journald
ansible.builtin.systemd:
ansible.builtin.systemd_service:
name: systemd-journald
state: restarted

View File

@@ -19,3 +19,4 @@
state: present
vars:
ansible_remote_tmp: /tmp # Prevent warnings for auto-created tmp dir
when: "'activedirectory' not in group_names"