AnsibleFest
Products
Community
Webinars & Training
Blog
Documentation
ANSIBLE
Introduction
Installation
Getting Started
Inventory
Dynamic Inventory
Patterns
Introduction To Ad-Hoc Commands
Configuration file
BSD Support
Windows Support
Networking Support
Quickstart Video
Playbooks
Intro to Playbooks
Playbook Roles and Include Statements
Variables
Templating (Jinja2)
Conditionals
Loops
Blocks
Strategies
Best Practices
Playbooks: Special Topics
Become (Privilege Escalation)
Accelerated Mode
Asynchronous Actions and Polling
Check Mode (“Dry Run”)
Playbook Debugger
Delegation, Rolling Updates, and Local Actions
Setting the Environment (and Working With Proxies)
Working With Language-Specific Version Managers
Error Handling In Playbooks
Advanced Syntax
Lookups
Examples
Prompts
Tags
Vault
Start and Step
Directives Glossary
About Modules
Introduction
Return Values
Module Support
Module Index
All Modules
Cloud Modules
Clustering Modules
Commands Modules
Crypto Modules
Database Modules
Files Modules
Identity Modules
Inventory Modules
Messaging Modules
Monitoring Modules
Network Modules
Notification Modules
Packaging Modules
Remote Management Modules
Source Control Modules
Storage Modules
System Modules
Utilities Modules
Web Infrastructure Modules
Windows Modules
Detailed Guides
Amazon Web Services Guide
Getting Started with Azure
Rackspace Cloud Guide
Google Cloud Platform Guide
CloudStack Cloud Guide
Using Vagrant and Ansible
Continuous Delivery and Rolling Upgrades
Getting Started with Docker
Using Ansible with the Packet host
Developer Information
Ansible Developer Guide
Ansible Tower
Community Information & Contributing
Ansible Users
For Current and Prospective Developers
Other Topics
Community Code of Conduct
Contributors License Agreement
Ansible Galaxy
The Website
The command line tool
Testing Strategies
Integrating Testing With Ansible Playbooks
The Right Level of Testing
Check Mode As A Drift Test
Modules That Are Useful for Testing
Testing Lifecycle
Integrating Testing With Rolling Updates
Achieving Continuous Deployment
Conclusion
Frequently Asked Questions
How can I set the PATH or any other environment variable for a task or entire playbook?
How do I handle different machines needing different user accounts or ports to log in with?
How do I get ansible to reuse connections, enable Kerberized SSH, or have Ansible pay attention to my local SSH config file?
How do I configure a jump host to access servers that I have no direct access to?
How do I speed up management inside EC2?
How do I handle python pathing not having a Python 2.X in /usr/bin/python on a remote machine?
What is the best way to make content reusable/redistributable?
Where does the configuration file live and what can I configure in it?
How do I disable cowsay?
How do I see a list of all of the ansible_ variables?
How do I see all the inventory vars defined for my host?
How do I loop over a list of hosts in a group, inside of a template?
How do I access a variable name programmatically?
How do I access a variable of the first host in a group?
How do I copy files recursively onto a target host?
How do I access shell environment variables?
How do I generate crypted passwords for the user module?
Can I get training on Ansible?
Is there a web interface / REST API / etc?
How do I submit a change to the documentation?
How do I keep secret data in my playbook?
When should I use {{ }}? Also, how to interpolate variables or dynamic variable names
Why don’t you ship in X format?
I don’t see my question here
Glossary
YAML Syntax
YAML Basics
Gotchas
Porting Guide
Playbook
Porting plugins
Hybrid plugins
Porting custom scripts
Python 3 Support
Testing Python 3 with commands and playbooks
Testing Python 3 module support
AnsibleFest
Products
Community
Webinars & Training
Blog
Ansible Documentation
Docs
»
Packaging Modules
Packaging Modules
¶
Language
¶
bower - Manage bower packages with bower
bundler - Manage Ruby Gem dependencies with Bundler
composer - Dependency Manager for PHP
cpanm - Manages Perl library dependencies.
easy_install - Installs Python libraries
gem - Manage Ruby gems
maven_artifact - Downloads an Artifact from a Maven Repository
npm - Manage node.js packages with npm
pear - Manage pear/pecl packages
pip - Manages Python library dependencies.
Os
¶
apk - Manages apk packages
apt - Manages apt-packages
apt_key - Add or remove an apt key
apt_repository - Add and remove APT repositories
apt_rpm - apt_rpm package manager
dnf - Manages packages with the *dnf* package manager
dpkg_selections - Dpkg package selection selections
homebrew - Package manager for Homebrew
homebrew_cask - Install/uninstall homebrew casks.
homebrew_tap - Tap a Homebrew repository.
layman - Manage Gentoo overlays
macports - Package manager for MacPorts
openbsd_pkg - Manage packages on OpenBSD.
opkg - Package manager for OpenWrt
package - Generic OS package manager
pacman - Manage packages with *pacman*
pkg5 - Manages packages with the Solaris 11 Image Packaging System
pkg5_publisher - Manages Solaris 11 Image Packaging System publishers
pkgin - Package manager for SmartOS, NetBSD, et al.
pkgng - Package manager for FreeBSD >= 9.0
pkgutil - Manage CSW-Packages on Solaris
portage - Package manager for Gentoo
portinstall - Installing packages from FreeBSD’s ports system
pulp_repo - Add or remove Pulp repos from a remote host.
redhat_subscription - Manage registration and subscriptions to RHSM using the ``subscription-manager`` command
rhn_channel - Adds or removes Red Hat software channels
rhn_register - Manage Red Hat Network registration using the ``rhnreg_ks`` command
rpm_key - Adds or removes a gpg key from the rpm db
slackpkg - Package manager for Slackware >= 12.2
sorcery - Package manager for Source Mage GNU/Linux
svr4pkg - Manage Solaris SVR4 packages
swdepot - Manage packages with swdepot package manager (HP-UX)
swupd - Manages updates and bundles in ClearLinux systems.
urpmi - Urpmi manager
xbps - Manage packages with XBPS
yum - Manages packages with the *yum* package manager
yum_repository - Add or remove YUM repositories
zypper - Manage packages on SUSE and openSUSE
zypper_repository - Add and remove Zypper repositories
Note
(D): This marks a module as deprecated, which means a module is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.