Add defaults for all relevant host_vars

This commit is contained in:
Oliver Traber 2025-08-06 14:24:02 +02:00
parent dba078af88
commit 7b837afa2d
Signed by: Bluemedia
GPG key ID: C0674B105057136C
4 changed files with 19 additions and 7 deletions

View file

@ -39,7 +39,7 @@
name:
- brightnessctl
- network-manager
when: hostvars[ansible_hostname]['mobile_platform']
when: "hostvars[ansible_hostname]['mobile_platform'] | default(false)"
- name: Install brightnessctl udev rules
become: yes
@ -49,7 +49,7 @@
owner: root
group: root
mode: u=rw,g=r,o=r
when: hostvars[ansible_hostname]['mobile_platform']
when: "hostvars[ansible_hostname]['mobile_platform'] | default(false)"
- name: Install zsh
become: yes