User Tools

Site Tools


ansible:ansible_collections

This is an old revision of the document!


Ansible collections

Ansible collections

List or verify installed collections

# ansible-galaxy collection list

Ansible plugin

Plugins extend Ansible’s core functionality.

Ansible modules

Modules are a type of plugin that execute automation tasks on a ‘target’ (usually a remote system).

List or verify installed modules — whether built-in or add-on

# ansible-doc --list
Or
# ansible-doc -t module -l

To use a specific module, use

    - name: unzip the zip folder
      ansible.builtin.unarchive:
        src: /var/www/html/techmax-main.zip
        dest: /var/www/html
        remote_src: yes

Man page for each module is available using

[ansible@lnx100 ~]$ ansible-doc -t module ibm.power_aix.user
> IBM.POWER_AIX.USER    (/ansible/.ansible/collections/ansible_collections/ibm/power_aix/plugins/modules/user.py)

        This module facilitates the creation of a new user with provided attributes, the modification of attributes or deletion of an existing user.

OPTIONS (= is mandatory):

- attributes
        Specifies the attributes to be changed or created for the user.
        For details on valid user attributes, please refers to IBM documentation at https://www.ibm.com/support/knowledgecenter/ssw_aix_72/c_commands/chuser.html.
        If you have the proper authority, you can set the following usual user attributes account_locked, admin, admgroups, capabilities, cpu, daemon, data, default_roles,
        dictionlist, domains, expires, fsize, fsize_hard, gecos, groups, histexpire, home, id, login, loginretries, logintimes, maxages, maxexpired, maxrepeats, maxulogs,
        minage, minalpha, mindiff, minlen, minother, nofiles, nproc, pgrp, projects, pwdchecks, pwdwarntime, rcmds, rlogin, roles, rss, shell, stack, su, sugroups, sysenv,
        threads, tpath, ttys, umask, usrenv, etc.
        [Default: (null)]
        type: dict

Sources collections

Collections for VMware

Ansible collection community.​vmware

https://docs.ansible.com/ansible/latest/collections/community/vmware/index.html

Python pyVmomi

https://github.com/vmware/pyvmomi

VMware vSphere Automation SDK for Python

https://github.com/vmware/vsphere-automation-sdk-python

Collections for IBM Power / AIX

Collections for IBM Storage

Collections for Broadcom/Brocade SAN switches

ansible/ansible_collections.1741956932.txt.gz · Last modified: 2025/03/14 13:55 by manu