get rid of deprecated code.

This commit is contained in:
2026-02-01 12:30:17 +01:00
parent 4d8631cead
commit 29cf8fec49
15 changed files with 223 additions and 63 deletions

View File

@@ -238,7 +238,7 @@
- name: "For OS: Ubuntu 16.04LTS, Arch: amd64"
import_tasks: ubuntu-x11vnc-1604-amd64.yml
when:
- ansible_distribution_version == "16.04"
- ansible_facts["distribution_version"] == "16.04"
- ansible_architecture == "x86_64"
tags:
- x11vnc
@@ -249,7 +249,7 @@
- name: "For OS: Ubuntu 18.04LTS, Arch: amd64"
import_tasks: ubuntu-x11vnc-1804-amd64.yml
when:
- ansible_distribution_version == "18.04"
- ansible_facts["distribution_version"] == "18.04"
- ansible_architecture == "x86_64"
tags:
- x11vnc
@@ -260,7 +260,7 @@
- name: "For OS: Ubuntu 20.04LTS, Arch: amd64"
import_tasks: ubuntu-x11vnc-2004-amd64.yml
when:
- ansible_distribution_version == "20.04"
- ansible_facts["distribution_version"] == "20.04"
- ansible_architecture == "x86_64"
tags:
- x11vnc
@@ -271,7 +271,7 @@
- name: "For OS: Ubuntu 22.04LTS, Arch: amd64"
import_tasks: ubuntu-x11vnc-2204-amd64.yml
when:
- ansible_distribution_version == "22.04"
- ansible_facts["distribution_version"] == "22.04"
- ansible_architecture == "x86_64"
tags:
- x11vnc