Improved mask logic and package names

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2026-04-08 13:51:01 +01:00
parent 201edf02e4
commit 53561fbf08
No known key found for this signature in database
GPG key ID: 997FF7FE93AEB5B9
3 changed files with 16 additions and 16 deletions

View file

@ -105,6 +105,6 @@
notify: Systemd daemon reload
ansible.builtin.systemd:
name: bluetooth.service
enabled: false
state: stopped
enabled: "{{ ('bluez' in ansible_facts.packages) | ternary(false, omit) }}"
state: "{{ ('bluez' in ansible_facts.packages) | ternary('stopped', omit) }}"
masked: true