Hmm. Was posting the solution already, but it doesn't appear here...

OK, @Sandip solved it:

- name: Install Kurento Media Server - Get Ubuntu version definitions and 
add repository to apt
ansible.builtin.shell: |
  source /etc/lsb-release
  tee "/etc/apt/sources.list.d/kurento.list" >/dev/null <<EOF
  # Kurento Media Server - Release packages
  deb [arch=amd64] http://ubuntu.openvidu.io/6.16.0 $DISTRIB_CODENAME kms6
  EOF
args:
  executable: /bin/bash

Kudos to @Sandip
dick....@geant.org schrieb am Montag, 27. September 2021 um 19:51:58 UTC+2:

> On Mon, 27 Sept 2021 at 19:04, 'Neil Young' via Ansible Project
> <ansible...@googlegroups.com> wrote:
>
> > - name: Get Ubuntu version definitions
> > ansible.builtin.shell: source /etc/lsb-release
>
> What is the purpose of this task?
> I.e. What are you trying to achieve?
>
>
> -- 
> Dick Visser
> Trust & Identity Service Operations Manager
> GÉANT
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ebe0ad59-57b2-46e0-9802-d9dc14adb5a9n%40googlegroups.com.

Reply via email to