moved from community collection to built-in command

This commit is contained in:
2025-10-21 14:26:26 +02:00
parent 1dfdd4acc6
commit 019bf1e584

View File

@@ -2,11 +2,10 @@
---
# tasks file for roles/omada-controller
# roles/omada-controller/tasks/main.yml
- name: Check if Omada Controller package 'tpeap' is already installed
dpkg_query:
name: tpeap
showformat: '${Status}'
- name: Check if Omada Controller package 'tpeap' is already installed (using command)
command: dpkg-query -W -f='${Status}' tpeap
register: omada_pkg_status
# Fail silently if package is not found, and never report a change.
failed_when: false
changed_when: false