I am trying to install a list of flatpaks on my Fedora Workstation and 
getting the following errors when I run my playbook:

TASK [Install the flatpak packages from flathub for current user] 
*************************************************************************************************************************************************
task path: /home/user/Documents/automation/ansible/playbooks/roles/fedora-
workstation/tasks/flatpakpackages.yml:1
fatal: [10.150.1.172]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The 
error was: 'item' is undefined\n\nThe error appears to be in 
'/home/user/Documents/automation/ansible/playbooks/roles/fedora-workstation/tasks/flatpakpackages.yml':
 
line 1, column 3, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Install 
the flatpak packages from flathub for current user\n  ^ here\n"
}

Here is the list of flatpaks
- name: Install the flatpak packages from flathub for current user
  flatpak:
    name: "{{ item }}"
    state: present
    method: user
    with_items:
      - com.bluejeans.BlueJeans
      - us.zoom.Zoom
      - com.discordapp.Discord
      - com.dropbox.Client
      - com.microsoft.Teams
      - org.signal.Signal
      - ws.openarena.OpenArena
      - net.openra.OpenRA
      - org.fedoraproject.MediaWriter
      - org.raspberrypi.rpi-imager
      - io.neovim.nvim
      - com.anydesk.Anydesk
      - io.dbeaver.DBeaverCommunity
      - com.github.alecaddd.sequeler
      - com.notepadqq.Notepadqq
      - org.qownnotes.QOwnNotes
      - io.brackets.Brackets
      - io.atom.Atom
      - org.gnome.Boxes
      - com.jetbrains.PyCharm-Community
      - com.sublimetext.three
      - com.visualstudio.code

Kind of lost at where the issue is.

-- 
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/e3a6cbd5-3f45-46c8-ada4-cfcc20dd65c7o%40googlegroups.com.

Reply via email to