Ansible-常用云模块列表


Docker

  • docker_compose – Manage multi-container Docker applications with Docker Compose
  • docker_config – Manage docker configs
  • docker_container – manage docker containers
  • docker_container_info – Retrieves facts about docker container
  • docker_host_info – Retrieves facts about docker host and lists of objects of the services
  • docker_image – Manage docker images
  • docker_image_info – Inspect docker images
  • docker_login – Log into a Docker registry
  • docker_network – Manage Docker networks
  • docker_network_info – Retrieves facts about docker network
  • docker_node – Manage Docker Swarm node
  • docker_node_info – Retrieves facts about docker swarm node from Swarm Manager
  • docker_prune – Allows to prune various docker objects
  • docker_secret – Manage docker secrets
  • docker_stack – docker stack module
  • docker_swarm – Manage Swarm cluster
  • docker_swarm_info – Retrieves facts about Docker Swarm cluster
  • docker_swarm_service – docker swarm service
  • docker_swarm_service_info – Retrieves information about docker services from a Swarm Manager
  • docker_volume – Manage Docker volumes
  • docker_volume_info – Retrieve facts about Docker volumes

Kubevirt

  • kubevirt_cdi_upload – Upload local VM images to CDI Upload Proxy
  • kubevirt_preset – Manage KubeVirt virtual machine presets
  • kubevirt_pvc – Manage PVCs on Kubernetes
  • kubevirt_rs – Manage KubeVirt virtual machine replica sets
  • kubevirt_template – Manage KubeVirt templates
  • kubevirt_vm – Manage KubeVirt virtual machine

Lxc

  • lxc_container – Manage LXC Containers

Lxd

  • lxd_container – Manage LXD Containers
  • lxd_profile – Manage LXD profiles

Podman

  • podman_image – Pull images for use by podman
  • podman_image_info – Gather info about images using podman

K8S

  • k8s – Manage Kubernetes (K8s) objects
  • k8s_auth – Authenticate to Kubernetes clusters which require an explicit login step
  • k8s_info – Describe Kubernetes (K8s) objects
  • k8s_scale – Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job
  • k8s_service – Manage Services on Kubernetes

Openstack

  • os_auth – Retrieve an auth token
  • os_client_config – Get OpenStack Client config
  • os_coe_cluster – Add/Remove COE cluster from OpenStack Cloud
  • os_coe_cluster_template – Add/Remove COE cluster template from OpenStack Cloud
  • os_flavor_info – Retrieve information about one or more flavors
  • os_floating_ip – Add/Remove floating IP from an instance
  • os_group – Manage OpenStack Identity Groups
  • os_group_info – Retrieve info about one or more OpenStack groups
  • os_image – Add/Delete images from OpenStack Cloud
  • os_image_info – Retrieve information about an image within OpenStack
  • os_ironic – Create/Delete Bare Metal Resources from OpenStack
  • os_ironic_inspect – Explicitly triggers baremetal node introspection in ironic
  • os_ironic_node – Activate/Deactivate Bare Metal Resources from OpenStack
  • os_keypair – Add/Delete a keypair from OpenStack
  • os_keystone_domain – Manage OpenStack Identity Domains
  • os_keystone_domain_info – Retrieve information about one or more OpenStack domains
  • os_keystone_endpoint – Manage OpenStack Identity service endpoints
  • os_keystone_role – Manage OpenStack Identity Roles
  • os_keystone_service – Manage OpenStack Identity services
  • os_listener – Add/Delete a listener for a load balancer from OpenStack Cloud
  • os_loadbalancer – Add/Delete load balancer from OpenStack Cloud
  • os_member – Add/Delete a member for a pool in load balancer from OpenStack Cloud
  • os_network – Creates/removes networks from OpenStack
  • os_networks_info – Retrieve information about one or more OpenStack networks
  • os_nova_flavor – Manage OpenStack compute flavors
  • os_nova_host_aggregate – Manage OpenStack host aggregates
  • os_object – Create or Delete objects and containers from OpenStack
  • os_pool – Add/Delete a pool in the load balancing service from OpenStack Cloud
  • os_port – Add/Update/Delete ports from an OpenStack cloud
  • os_port_info – Retrieve information about ports within OpenStack
  • os_project – Manage OpenStack Projects
  • os_project_access – Manage OpenStack compute flavors access
  • os_project_info – Retrieve information about one or more OpenStack projects
  • os_quota – Manage OpenStack Quotas
  • os_recordset – Manage OpenStack DNS recordsets
  • os_router – Create or delete routers from OpenStack
  • os_security_group – Add/Delete security groups from an OpenStack cloud
  • os_security_group_rule – Add/Delete rule from an existing security group
  • os_server – Create/Delete Compute Instances from OpenStack
  • os_server_action – Perform actions on Compute Instances from OpenStack
  • os_server_group – Manage OpenStack server groups
  • os_server_info – Retrieve information about one or more compute instances
  • os_server_metadata – Add/Update/Delete Metadata in Compute Instances from OpenStack
  • os_server_volume – Attach/Detach Volumes from OpenStack VM’s
  • os_stack – Add/Remove Heat Stack
  • os_subnet – Add/Remove subnet to an OpenStack network
  • os_subnets_info – Retrieve information about one or more OpenStack subnets
  • os_user – Manage OpenStack Identity Users
  • os_user_group – Associate OpenStack Identity users and groups
  • os_user_info – Retrieve information about one or more OpenStack users
  • os_user_role – Associate OpenStack Identity users and roles
  • os_volume – Create/Delete Cinder Volumes
  • os_volume_snapshot – Create/Delete Cinder Volume Snapshots
  • os_zone – Manage OpenStack DNS zones

Vmware

  • vca_fw – add remove firewall rules in a gateway in a vca
  • vca_nat – add remove nat rules in a gateway in a vca
  • vca_vapp – Manages vCloud Air vApp instances
  • vcenter_extension – Register/deregister vCenter Extensions
  • vcenter_extension_facts – Gather facts vCenter extensions (D)
  • vcenter_extension_info – Gather info vCenter extensions
  • vcenter_folder – Manage folders on given datacenter
  • vcenter_license – Manage VMware vCenter license keys
  • vmware_about_facts – Provides information about VMware server to which user is connecting to (D)
  • vmware_about_info – Provides information about VMware server to which user is connecting to
  • vmware_category – Manage VMware categories
  • vmware_category_facts – Gather facts about VMware tag categories (D)
  • vmware_category_info – Gather info about VMware tag categories
  • vmware_cfg_backup – Backup / Restore / Reset ESXi host configuration
  • vmware_cluster – Manage VMware vSphere clusters
  • vmware_cluster_drs – Manage Distributed Resource Scheduler (DRS) on VMware vSphere clusters
  • vmware_cluster_ha – Manage High Availability (HA) on VMware vSphere clusters
  • vmware_cluster_info – Gather info about clusters available in given vCenter
  • vmware_cluster_vsan – Manages virtual storage area network (vSAN) configuration on VMware vSphere clusters
  • vmware_content_deploy_template – Deploy Virtual Machine from template stored in content library
  • vmware_content_library_info – Gather information about VMware Content Library
  • vmware_content_library_manager – Create, update and delete VMware content library
  • vmware_datacenter – Manage VMware vSphere Datacenters
  • vmware_datastore_cluster – Manage VMware vSphere datastore clusters
  • vmware_datastore_info – Gather info about datastores available in given vCenter
  • vmware_datastore_maintenancemode – Place a datastore into maintenance mode
  • vmware_deploy_ovf – Deploys a VMware virtual machine from an OVF or OVA file
  • vmware_dns_config – Manage VMware ESXi DNS Configuration
  • vmware_drs_group – Creates vm/host group in a given cluster
  • vmware_drs_group_facts – Gathers facts about DRS VM/Host groups on the given cluster (D)
  • vmware_drs_group_info – Gathers info about DRS VM/Host groups on the given cluster
  • vmware_drs_rule_facts – Gathers facts about DRS rule on the given cluster (D)
  • vmware_drs_rule_info – Gathers info about DRS rule on the given cluster
  • vmware_dvs_host – Add or remove a host from distributed virtual switch
  • vmware_dvs_portgroup – Create or remove a Distributed vSwitch portgroup
  • vmware_dvs_portgroup_facts – Gathers facts DVS portgroup configurations (D)
  • vmware_dvs_portgroup_find – Find portgroup(s) in a VMware environment
  • vmware_dvs_portgroup_info – Gathers info DVS portgroup configurations
  • vmware_dvswitch – Create or remove a Distributed Switch
  • vmware_dvswitch_lacp – Manage LACP configuration on a Distributed Switch
  • vmware_dvswitch_nioc – Manage distributed switch Network IO Control
  • vmware_dvswitch_pvlans – Manage Private VLAN configuration of a Distributed Switch
  • vmware_dvswitch_uplink_pg – Manage uplink portproup configuration of a Distributed Switch
  • vmware_evc_mode – Enable/Disable EVC mode on vCenter
  • vmware_export_ovf – Exports a VMware virtual machine to an OVF file, device files and a manifest file
  • vmware_folder_info – Provides information about folders in a datacenter
  • vmware_guest – Manages virtual machines in vCenter
  • vmware_guest_boot_facts – Gather facts about boot options for the given virtual machine (D)
  • vmware_guest_boot_info – Gather info about boot options for the given virtual machine
  • vmware_guest_boot_manager – Manage boot options for the given virtual machine
  • vmware_guest_custom_attribute_defs – Manage custom attributes definitions for virtual machine from VMware
  • vmware_guest_custom_attributes – Manage custom attributes from VMware for the given virtual machine
  • vmware_guest_customization_facts – Gather facts about VM customization specifications (D)
  • vmware_guest_customization_info – Gather info about VM customization specifications
  • vmware_guest_disk – Manage disks related to virtual machine in given vCenter infrastructure
  • vmware_guest_disk_facts – Gather facts about disks of given virtual machine (D)
  • vmware_guest_disk_info – Gather info about disks of given virtual machine
  • vmware_guest_file_operation – Files operation in a VMware guest operating system without network
  • vmware_guest_find – Find the folder path(s) for a virtual machine by name or UUID
  • vmware_guest_info – Gather info about a single VM
  • vmware_guest_move – Moves virtual machines in vCenter
  • vmware_guest_network – Manage network adapters of specified virtual machine in given vCenter infrastructure
  • vmware_guest_powerstate – Manages power states of virtual machines in vCenter
  • vmware_guest_screenshot – Create a screenshot of the Virtual Machine console
  • vmware_guest_sendkey – Send USB HID codes to the Virtual Machine’s keyboard
  • vmware_guest_snapshot – Manages virtual machines snapshots in vCenter
  • vmware_guest_snapshot_info – Gather info about virtual machine’s snapshots in vCenter
  • vmware_guest_tools_upgrade – Module to upgrade VMTools
  • vmware_guest_tools_wait – Wait for VMware tools to become available
  • vmware_guest_video – Modify video card configurations of specified virtual machine in given vCenter infrastructure
  • vmware_guest_vnc – Manages VNC remote display on virtual machines in vCenter
  • vmware_host – Add, remove, or move an ESXi host to, from, or within vCenter
  • vmware_host_acceptance – Manage the host acceptance level of an ESXi host
  • vmware_host_active_directory – Joins an ESXi host system to an Active Directory domain or leaves it
  • vmware_host_capability_facts – Gathers facts about an ESXi host’s capability information (D)
  • vmware_host_capability_info – Gathers info about an ESXi host’s capability information
  • vmware_host_config_facts – Gathers facts about an ESXi host’s advance configuration information (D)
  • vmware_host_config_info – Gathers info about an ESXi host’s advance configuration information
  • vmware_host_config_manager – Manage advanced system settings of an ESXi host
  • vmware_host_datastore – Manage a datastore on ESXi host
  • vmware_host_dns_facts – Gathers facts about an ESXi host’s DNS configuration information (D)
  • vmware_host_dns_info – Gathers info about an ESXi host’s DNS configuration information
  • vmware_host_facts – Gathers facts about remote ESXi hostsystem
  • vmware_host_feature_facts – Gathers facts about an ESXi host’s feature capability information (D)
  • vmware_host_feature_info – Gathers info about an ESXi host’s feature capability information
  • vmware_host_firewall_facts – Gathers facts about an ESXi host’s firewall configuration information (D)
  • vmware_host_firewall_info – Gathers info about an ESXi host’s firewall configuration information
  • vmware_host_firewall_manager – Manage firewall configurations about an ESXi host
  • vmware_host_hyperthreading – Enables/Disables Hyperthreading optimization for an ESXi host system
  • vmware_host_ipv6 – Enables/Disables IPv6 support for an ESXi host system
  • vmware_host_kernel_manager – Manage kernel module options on ESXi hosts
  • vmware_host_lockdown – Manage administrator permission for the local administrative account for the ESXi host
  • vmware_host_ntp – Manage NTP server configuration of an ESXi host
  • vmware_host_ntp_facts – Gathers facts about NTP configuration on an ESXi host (D)
  • vmware_host_ntp_info – Gathers info about NTP configuration on an ESXi host
  • vmware_host_package_facts – Gathers facts about available packages on an ESXi host (D)
  • vmware_host_package_info – Gathers info about available packages on an ESXi host
  • vmware_host_powermgmt_policy – Manages the Power Management Policy of an ESXI host system
  • vmware_host_powerstate – Manages power states of host systems in vCenter
  • vmware_host_scanhba – Rescan host HBA’s and optionally refresh the storage system
  • vmware_host_service_facts – Gathers facts about an ESXi host’s services (D)
  • vmware_host_service_info – Gathers info about an ESXi host’s services
  • vmware_host_service_manager – Manage services on a given ESXi host
  • vmware_host_snmp – Configures SNMP on an ESXi host system
  • vmware_host_ssl_facts – Gather facts of ESXi host system about SSL (D)
  • vmware_host_ssl_info – Gather info of ESXi host system about SSL
  • vmware_host_vmhba_facts – Gathers facts about vmhbas available on the given ESXi host (D)
  • vmware_host_vmhba_info – Gathers info about vmhbas available on the given ESXi host
  • vmware_host_vmnic_facts – Gathers facts about vmnics available on the given ESXi host (D)
  • vmware_host_vmnic_info – Gathers info about vmnics available on the given ESXi host
  • vmware_local_role_facts – Gather facts about local roles on an ESXi host (D)
  • vmware_local_role_info – Gather info about local roles on an ESXi host
  • vmware_local_role_manager – Manage local roles on an ESXi host
  • vmware_local_user_facts – Gather facts about users on the given ESXi host (D)
  • vmware_local_user_info – Gather info about users on the given ESXi host
  • vmware_local_user_manager – Manage local users on an ESXi host
  • vmware_maintenancemode – Place a host into maintenance mode
  • vmware_migrate_vmk – Migrate a VMK interface from VSS to VDS
  • vmware_object_role_permission – Manage local roles on an ESXi host
  • vmware_portgroup – Create a VMware portgroup
  • vmware_portgroup_facts – Gathers facts about an ESXi host’s Port Group configuration (D)
  • vmware_portgroup_info – Gathers info about an ESXi host’s Port Group configuration
  • vmware_resource_pool – Add/remove resource pools to/from vCenter
  • vmware_resource_pool_facts – Gathers facts about resource pool information (D)
  • vmware_resource_pool_info – Gathers info about resource pool information
  • vmware_tag – Manage VMware tags
  • vmware_tag_info – Manage VMware tag info
  • vmware_tag_manager – Manage association of VMware tags with VMware objects
  • vmware_target_canonical_facts – Return canonical (NAA) from an ESXi host system (D)
  • vmware_target_canonical_info – Return canonical (NAA) from an ESXi host system
  • vmware_vcenter_settings – Configures general settings on a vCenter server
  • vmware_vcenter_statistics – Configures statistics on a vCenter server
  • vmware_vm_host_drs_rule – Creates vm/host group in a given cluster
  • vmware_vm_info – Return basic info pertaining to a VMware machine guest
  • vmware_vm_shell – Run commands in a VMware guest operating system
  • vmware_vm_storage_policy_info – Gather information about vSphere storage profile defined storage policy information
  • vmware_vm_vm_drs_rule – Configure VMware DRS Affinity rule for virtual machine in given cluster
  • vmware_vm_vss_dvs_migrate – Migrates a virtual machine from a standard vswitch to distributed
  • vmware_vmkernel – Manages a VMware VMkernel Adapter of an ESXi host
  • vmware_vmkernel_facts – Gathers VMKernel facts about an ESXi host (D)
  • vmware_vmkernel_info – Gathers VMKernel info about an ESXi host
  • vmware_vmkernel_ip_config – Configure the VMkernel IP Address
  • vmware_vmotion – Move a virtual machine using vMotion, and/or its vmdks using storage vMotion
  • vmware_vsan_cluster – Configure VSAN clustering on an ESXi host
  • vmware_vspan_session – Create or remove a Port Mirroring session
  • vmware_vswitch – Manage a VMware Standard Switch to an ESXi host
  • vmware_vswitch_facts – Gathers facts about an ESXi host’s vswitch configurations (D)
  • vmware_vswitch_info – Gathers info about an ESXi host’s vswitch configurations
  • vsphere_copy – Copy a file to a VMware datastore
  • vsphere_file – Manage files on a vCenter datastore