community.general 12.5.0 and 11.4.6 — New Modules and Bug Fixes
By Luca Berton · Published 2024-01-01 · Category: installation
community.general 12.5.0 brings four new modules and deprecations, while 11.4.6 is a bugfix release for the stable-11 branch.
community.general 12.5.0 and 11.4.6 Releases
Two new releases of the community.general Ansible collection are available:
See also: Ansible-Core 2.16.18 Release — Security and Bug Fixes
community.general 12.5.0
A regular feature and bugfix release with: • Four new modules expanding the collection's capabilities • Several deprecations flagging features for future removal • Bug fixes for existing modules
How to Upgrade
ansible-galaxy collection install community.general:==12.5.0 --upgrade
community.general 11.4.6
A regular bugfix release for the stable-11 branch:
ansible-galaxy collection install community.general:==11.4.6 --upgrade
See also: Ansible-Core 2.18.15 Release — Maintenance Update
About community.general
The community.general collection is one of the largest Ansible collections, providing hundreds of modules and plugins for a wide variety of systems and services. It covers areas like:
• Package management (homebrew, snap, flatpak, etc.)
• Cloud providers (Proxmox, Hetzner, Linode, etc.)
• Databases (Redis, InfluxDB, etc.)
• Monitoring (Zabbix, Nagios, etc.)
• And much more
Resources
• 12.5.0 Changelog • 11.4.6 Changelog • Galaxy PageSee also: Ansible-Core 2.19.8 Release — Bug Fixes for Data Tagging
Related Articles
• discovering content via Ansible GalaxyKey Modules in community.general
Here are some of the most commonly used modules from this collection:
# Manage flatpak applications
- name: Install Spotify via flatpak
community.general.flatpak:
name: com.spotify.Client
state: present
# Manage snap packages
- name: Install VS Code via snap
community.general.snap:
name: code
classic: true
state: present
# Manage Homebrew packages (macOS)
- name: Install tools via Homebrew
community.general.homebrew:
name: "{{ item }}"
state: present
loop:
- jq
- yq
- tree
# Manage Proxmox VMs
- name: Create Proxmox VM
community.general.proxmox_kvm:
api_host: proxmox.example.com
api_user: root@pam
api_password: "{{ vault_proxmox_password }}"
name: test-vm
node: pve1
state: present
Checking Your Installed Version
# Check installed version
ansible-galaxy collection list | grep community.general
# Check available versions
ansible-galaxy collection install community.general --list
FAQ
What is the difference between stable-11 and stable-12?
stable-12 is the current feature branch receiving new modules and features. stable-11 only receives bugfixes and security patches. Choose stable-12 for the latest features, stable-11 for stability.
How often is community.general released?
Minor releases (bugfixes) come roughly monthly. Feature releases come every few months. Check the Galaxy page for the latest schedule.
Is community.general included in the ansible package?
Yes. If you install the full ansible package (not just ansible-core), community.general is included by default.
Category: installation