Fix deprecation warnings for Ansible 2.8
This commit is contained in:
parent
9648bae2bd
commit
9e58e0b4e4
14
Manual.org
14
Manual.org
@ -744,7 +744,7 @@ yavdr-common executes the following tasks:
|
||||
with_first_found:
|
||||
- files:
|
||||
- /etc/update-manager/release-upgrades
|
||||
skip: true
|
||||
errors: ignore
|
||||
|
||||
#+END_SRC
|
||||
***** Install essential packages
|
||||
@ -2618,7 +2618,7 @@ preferred_refreshrates:
|
||||
- xserver-xorg-video-intel
|
||||
- i965-va-driver-shaders
|
||||
state: present
|
||||
when: intel_detected and not nvidia_detected
|
||||
when: intel_detected | bool and not nvidia_detected | bool
|
||||
|
||||
- name: Install yaVDR Media (e.g. Backgrounds)
|
||||
apt:
|
||||
@ -2740,8 +2740,8 @@ preferred_refreshrates:
|
||||
masked: false
|
||||
daemon_reload: true
|
||||
when:
|
||||
- nvidia_detected
|
||||
- nvidia_driver_installed
|
||||
- nvidia_detected | bool
|
||||
- nvidia_driver_installed | bool
|
||||
- '"nouveau" in modules'
|
||||
|
||||
- name: "start x-verbose@.service"
|
||||
@ -2832,14 +2832,14 @@ preferred_refreshrates:
|
||||
dest: /etc/X11/xorg.conf
|
||||
backup: yes
|
||||
when:
|
||||
- nvidia_detected
|
||||
- nvidia_detected | bool
|
||||
|
||||
- name: intel xorg config snippet
|
||||
template:
|
||||
src: templates/20-intel.conf.j2
|
||||
dest: /etc/X11/xorg.conf.d/20-intel.conf
|
||||
when:
|
||||
- intel_detected and not nvidia_detected
|
||||
- intel_detected | bool and not nvidia_detected | bool
|
||||
|
||||
- name: server flags config snippet to disable screen blanking
|
||||
template:
|
||||
@ -6004,7 +6004,7 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-satip
|
||||
apt:
|
||||
name: vdr-plugin-satip
|
||||
state: present
|
||||
when: satip_devices
|
||||
when: satip_devices | bool
|
||||
notify: [ 'Restart VDR' ]
|
||||
#+END_SRC
|
||||
** autoinstall-targavfd
|
||||
|
@ -35,7 +35,7 @@
|
||||
state: absent
|
||||
when:
|
||||
- dvbsky_firmware_files is defined
|
||||
- dvbsky_firmware_files
|
||||
- dvbsky_firmware_files | bool
|
||||
tags:
|
||||
- install
|
||||
- autodetect
|
||||
|
@ -12,5 +12,5 @@
|
||||
apt:
|
||||
name: vdr-plugin-satip
|
||||
state: present
|
||||
when: satip_devices
|
||||
when: satip_devices | bool
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
@ -16,8 +16,8 @@
|
||||
dpkg_reconfigure:
|
||||
pkg: libdvd-pkg
|
||||
answers:
|
||||
libdvd-pkg/post-invoke_hook-install: boolean true
|
||||
libdvd-pkg/build: boolean true
|
||||
libdvd-pkg/post-invoke_hook-install: "boolean true"
|
||||
libdvd-pkg/build: "boolean true"
|
||||
|
||||
|
||||
- name: change udev rule to allow KODI to eject optical disks
|
||||
|
@ -28,7 +28,7 @@
|
||||
with_first_found:
|
||||
- files:
|
||||
- /etc/update-manager/release-upgrades
|
||||
skip: true
|
||||
errors: ignore
|
||||
- name: apt | install basic packages
|
||||
apt:
|
||||
name:
|
||||
|
@ -89,8 +89,8 @@
|
||||
masked: false
|
||||
daemon_reload: true
|
||||
when:
|
||||
- nvidia_detected
|
||||
- nvidia_driver_installed
|
||||
- nvidia_detected | bool
|
||||
- nvidia_driver_installed | bool
|
||||
- '"nouveau" in modules'
|
||||
|
||||
- name: "start x-verbose@.service"
|
||||
@ -181,14 +181,14 @@
|
||||
dest: /etc/X11/xorg.conf
|
||||
backup: yes
|
||||
when:
|
||||
- nvidia_detected
|
||||
- nvidia_detected | bool
|
||||
|
||||
- name: intel xorg config snippet
|
||||
template:
|
||||
src: templates/20-intel.conf.j2
|
||||
dest: /etc/X11/xorg.conf.d/20-intel.conf
|
||||
when:
|
||||
- intel_detected and not nvidia_detected
|
||||
- intel_detected | bool and not nvidia_detected | bool
|
||||
|
||||
- name: server flags config snippet to disable screen blanking
|
||||
template:
|
||||
|
@ -84,7 +84,7 @@
|
||||
- xserver-xorg-video-intel
|
||||
- i965-va-driver-shaders
|
||||
state: present
|
||||
when: intel_detected and not nvidia_detected
|
||||
when: intel_detected | bool and not nvidia_detected | bool
|
||||
|
||||
- name: Install yaVDR Media (e.g. Backgrounds)
|
||||
apt:
|
||||
|
Loading…
Reference in New Issue
Block a user