Add defaults for all relevant host_vars
This commit is contained in:
parent
dba078af88
commit
7b837afa2d
4 changed files with 19 additions and 7 deletions
|
@ -33,7 +33,7 @@
|
|||
dest: "/etc/systemd/"
|
||||
- src: "{{ role_path }}/files/systemd/sleep.conf.d"
|
||||
dest: "/etc/systemd/"
|
||||
when: hostvars[ansible_hostname]['mobile_platform']
|
||||
when: "hostvars[ansible_hostname]['mobile_platform'] | default(false)"
|
||||
|
||||
- name: Copy static config files
|
||||
copy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue