Open bashfulrobot opened 3 years ago
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @JayKayy @oolongbrothers click here for bot help
The flatpak module only allows to install multiple packages at once since community.general 3.3.0. Are you using this or a newer version of community.general?
needs_info
Hi there,
I had simply added a task in a role with:
- name: install flatpak
become: yes
apt:
pkg:
- flatpak
- gnome-software-plugin-flatpak
state: present
- name: add the flathub flatpak repository remote to the user installation
become: yes
community.general.flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo
- name: install flathub packages
become: yes
community.general.flatpak:
name: "{{flathub_packages}}"
state: present
remote: flathub
And then my var was defined with:
# Install flathub packages
flathub_packages:
- org.standardnotes.standardnotes
How do I check the version, or update it to the appropriate one?
I am still getting the feel of how things are splitting out into the community stuff (I may have a knowledge gap).
Thank you.
You can always run ansible-galaxy collection list
to see which collections (with which versions) you have installed where. (If you are using ansible-base 2.10, this list can be incomplete if you installed the collections as part of the Ansible community distribution.)
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
Summary
I have a role setup where I am leveraging flatpaks to install on my local system. It keeps reporting the package is not found but appears to have been installed.
Thank you for your time.
Issue Type
Bug Report
Component Name
flatpak
Ansible Version
Configuration
This command results in an empty result.
OS / Environment
Steps to Reproduce
The task component of the role has:
Then in a loaded var file, I have:
Expected Results
I expect to there be no error displayed and the apps installed.
Actual Results
When I run the playbook, it results in:
when I manually run the installation with
/usr/bin/flatpak install --system --noninteractive flathub org.standardnotes.standardnotes
manually, it reports that the app is already installed.Code of Conduct