Fix syntax error in state value

This commit is contained in:
Alexander Grothe 2019-02-22 15:45:00 +01:00
parent 71c2079f53
commit b816a03d69
3 changed files with 507 additions and 507 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2360,7 +2360,7 @@ preferred_refreshrates:
lineinfile:
path: /etc/vdr/conf.avail/softhddevice.conf
line: '-v va-api'
state: present if intel_detected else absent
state: '{{ "present" if intel_detected else "absent" }}'
- name: add a login shell for the user vdr
user:

View File

@ -48,7 +48,7 @@
lineinfile:
path: /etc/vdr/conf.avail/softhddevice.conf
line: '-v va-api'
state: present if intel_detected else absent
state: '{{ "present" if intel_detected else "absent" }}'
- name: add a login shell for the user vdr
user: