This is an old revision of the document!
List or verify installed collections
# ansible-galaxy collection list
Plugins extend Ansible’s core functionality.
To list plugins, use the modules commands following…
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@lnx100 ~]$ ansible-doc --list a10_server Manage A10 Networks AX/SoftAX/Thunder/vThunder devices' server object a10_server_axapi3 Manage A10 Networks AX/SoftAX/Thunder/vThunder devices a10_service_group Manage A10 Networks AX/SoftAX/Thunder/vThunder devices' service groups a10_virtual_server Manage A10 Networks AX/SoftAX/Thunder/vThunder devices' virtual servers accelerate UNDOCUMENTED Or $ ansible-doc -t module -l
More detailled
[ansible@lnx100 ~]$ ansible-doc -F a10_server /usr/local/lib/python3.6/site-packages/ansible/modules/network/a10/a10_server.py a10_server_axapi3 /usr/local/lib/python3.6/site-packages/ansible/modules/network/a10/a10_server_axapi3.py a10_service_group /usr/local/lib/python3.6/site-packages/ansible/modules/network/a10/a10_service_group.py a10_virtual_server /usr/local/lib/python3.6/site-packages/ansible/modules/network/a10/a10_virtual_server.py
Paths for modules:
[ansible@lnx100 ~]$ ansible-config dump |grep DEFAULT_MODULE_PATH DEFAULT_MODULE_PATH(default) = ['/ansible/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
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
[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 ... EXAMPLES: - name: Create user aixguest1010 ibm.power_aix.user: state: present name: aixguest1010 change_passwd_on_login: False password: as$12ndhkfjk$1c attributes: home: /home/test/aixguest1010 data: 1272
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
https://galaxy.ansible.com/ui/repo/published/ibm/power_aix/
https://galaxy.ansible.com/ui/repo/published/ibm/power_vios/
https://galaxy.ansible.com/ui/repo/published/ibm/power_hmc/
https://www.ansible.com/blog/aix-patch-management-with-ansible
https://github.com/aixoss/ansible-playbooks
https://github.com/IBM/ansible-power-aix-oracle
https://github.com/IBM/ansible-power-hmc
https://github.com/lg4U (PowerVC)