15 lines
380 B
YAML
15 lines
380 B
YAML
|
---
|
||
|
- name: gather service facts
|
||
|
service_facts:
|
||
|
|
||
|
- name: set DynamicUser=no
|
||
|
ansible.builtin.blockinfile:
|
||
|
path: /etc/systemd/system/fwupd-refresh.service.d/override.conf
|
||
|
block: |
|
||
|
[Service]
|
||
|
DynamicUser=no
|
||
|
create: yes
|
||
|
when:
|
||
|
- "not fwupd_dynamic_user and 'fwupd-refresh.service' in services"
|
||
|
notify: systemctl daemon-reload
|