refactor(role): No systemctl daemon-reload on Git pull

Since unit files are now copied to '/etc/systemd/system' merely
cloning or pulling a Git repo no longer warrants a systemctl
daemon-reload.
This commit is contained in:
hygienic-books 2025-06-04 01:28:12 +02:00
parent 03b371650c
commit 023227fff7

View File

@ -38,8 +38,6 @@
repo: '{{ genvm_os_auto_upgrades_git_repo }}' repo: '{{ genvm_os_auto_upgrades_git_repo }}'
dest: '{{ genvm_os_auto_upgrades_git_clone_dir }}' dest: '{{ genvm_os_auto_upgrades_git_clone_dir }}'
version: '{{ genvm_os_auto_upgrades_git_branch }}' version: '{{ genvm_os_auto_upgrades_git_branch }}'
notify:
- 'Reload systemd unit configs'
- name: 'If Arch Linux copy systemd unit files for OS auto-upgrades to ''/etc/systemd/system''' - name: 'If Arch Linux copy systemd unit files for OS auto-upgrades to ''/etc/systemd/system'''
when: 'ansible_facts[''os_family''] | lower == ''archlinux''' when: 'ansible_facts[''os_family''] | lower == ''archlinux'''