From e487fa860a1e7ea17c3195eb48a6e5315845b25b Mon Sep 17 00:00:00 2001
From: Florent Thiery <florent.thiery@ubicast.eu>
Date: Thu, 13 Oct 2022 10:58:30 +0000
Subject: [PATCH] ubicast-live: use new getuid command, fixes #36760

---
 playbooks/live/functions/create-live-app.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playbooks/live/functions/create-live-app.yml b/playbooks/live/functions/create-live-app.yml
index eba2859e..a1ff76ed 100644
--- a/playbooks/live/functions/create-live-app.yml
+++ b/playbooks/live/functions/create-live-app.yml
@@ -90,7 +90,7 @@
   tags: live
   tasks:
     - name: Check the existence of the RTMP app
-      ansible.builtin.command: ubicast-livectl get {{ live_app_name }} {{ hostvars['localhost'].live_app_secret }}
+      ansible.builtin.command: ubicast-livectl checkuid {{ live_app_name }} {{ hostvars['localhost'].live_app_secret }}
       register: app_status
       changed_when: false
       failed_when: false
-- 
GitLab