moved from community collection to built-in command
This commit is contained in:
1 parent
1dfdd4acc6
commit
019bf1e584
1 file changed
+3
-4
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user