2019独角兽企业重金招聘Python工程师标准>>>
环境说明:
OS:centos6.8 X86 64
Python:2.7.6
Ansible:2.3.1
1.下载
http://releases.ansible.com/ansible/ansible-latest.tar.gz
2.安装
tar -xvf ansible-latest.tar.gz
cd ansible-2.3.1.0
/usr/local/python27/bin/pip install -r requirements.txt
/usr/local/python27/bin/python setup.py install
mkdir /etc/ansible
cp examples/ansible.cfg /etc/ansible
root用户下
ssh-keygen -t rsa -P ''
ssh-copy-id localhost 本机使用root用户面密码登录
ssh-copy-id 192.168.222.129 在远程192.168.222.129服务器上用root用户登录面密码
根据模版文件进行修改
vim /etc/ansible/ansible.cfg
[defaults]
remote_port = 22 取消注释
private_key_file = /root/.ssh/id_rsa 取消注释修改
[privilege_escalation]
[paramiko_connection]
[ssh_connection]
[persistent_connection]
connect_timeout = 30
connect_retries = 30
connect_interval = 1
[accelerate]
[selinux]
[colors]
[diff]
编辑hosts文件用于节点角色分组
[cluster]
192.168.222.139
[web]
192.168.222.129
[all]
192.168.222.139
192.168.222.129
增加超链接或环境变量
ln -s /usr/local/python27/bin/ansible* /usr/local/sbin/
3.测试
[root@localhost ~]# ansible cluster -m ping
192.168.222.139 | SUCCESS => {
"changed": false,
"ping": "pong"
}
[root@localhost ~]# ansible web -m ping
192.168.222.129 | SUCCESS => {
"changed": false,
"ping": "pong"
}
[root@localhost ~]# ansible all -m ping
192.168.222.129 | SUCCESS => {
"changed": false,
"ping": "pong"
}
192.168.222.139 | SUCCESS => {
"changed": false,
"ping": "pong"
}
第一次使用会提示yes,输入yes即可,后面继续再执行的话就不会出现yes的提示。
4.模块介绍
模块(也被称为 “task plugins” 或 “library plugins”)是在 Ansible 中实际在执行的.它们就 是在每个 playbook 任务中被执行的.你也可以仅仅通过 ‘ansible’ 命令来运行它们.
启动某个服务
[root@localhost ~]# ansible web -m service -a "name=httpd state=started"
192.168.222.129 | SUCCESS => {
"changed": true,
"name": "httpd",
"state": "started"
}
[root@salt ~]# /etc/init.d/httpd status
httpd is stopped
[root@salt ~]# /etc/init.d/httpd status
httpd (pid 5185) is running...
测试某个角色下的节点是否正常
[root@localhost ~]# ansible web -m ping
192.168.222.129 | SUCCESS => {
"changed": false,
"ping": "pong"
}
重启
[root@localhost ~]# ansible web -m command -a "/sbin/reboot -t now"
每个模块都能接收参数. 几乎所有的模块都接受键值对(key=value)参数,空格分隔.一些模块 不接收参数,只需在命令行输入相关的命令就能调用.
每个模块的文档能够通过命令行的 ansible-doc 工具来获取
ansible-doc yum
可以查看到这个模块的帮助
[root@localhost ~]# ansible-doc yum
> YUM (/usr/local/python27/lib/python2.7/site-packages/ansible-2.3.1.0-py2.7.egg/ansible/modules/packaging/os/yum
Installs, upgrade, removes, and lists packages and groups with the `yum' package manager.
Options (= is mandatory):
- conf_file
The remote yum configuration file to use for the transaction.
[Default: None]
- disable_gpg_check
Whether to disable the GPG checking of signatures of packages being installed. Has
an effect only if state is `present' or `latest'.
(Choices: yes, no)[Default: no]
- disablerepo
`Repoid' of repositories to disable for the install/update operation. These repos
will not persist beyond the transaction. When specifying multiple repos, separate
them with a ",".
[Default: None]
- enablerepo
`Repoid' of repositories to enable for the install/update operation. These repos
will not persist beyond the transaction. When specifying multiple repos, separate
them with a ",".
[Default: None]
- exclude
Package name(s) to exclude when state=present, or latest
[Default: None]
- installroot
Specifies an alternative installroot, relative to which all packages will be
installed.
[Default: /]
- list
Package name to run the equivalent of yum list against.
[Default: None]
= name
Package name, or package specifier with version, like `name-1.0'. When using
state=latest, this can be '*' which means run: yum -y update. You can also pass a
url or a local path to a rpm file (using state=present). To operate on several
packages this can accept a comma separated list of packages or (as of 2.0) a list of
packages.
[Default: None]
- skip_broken
Resolve depsolve problems by removing packages that are causing problems from the
trans‐ action.
(Choices: yes, no)[Default: no]
- state
Whether to install (`present' or `installed', `latest'), or remove (`absent' or
`removed') a package.
(Choices: present, installed, latest, absent, removed)[Default: present]
- update_cache
Force yum to check if cache is out of date and redownload if needed. Has an effect
only if state is `present' or `latest'.
(Choices: yes, no)[Default: no]
- validate_certs
This only applies if using a https url as the source of the rpm. e.g. for
localinstall. If set to `no', the SSL certificates will not be validated.
This should only set to `no' used on personally controlled sites using self-signed
certificates as it avoids verifying the source site.
Prior to 2.1 the code worked as if this was set to `yes'.
(Choices: yes, no)[Default: yes]
Notes:
* When used with a loop of package names in a playbook, ansible optimizes the call
to the yum module. Instead of calling the module with a single package each
time through the loop, ansible calls the module once with all of the package
names from the loop.
* In versions prior to 1.9.2 this module installed and removed each package given to
the yum module separately. This caused problems when packages specified by
filename or url had to be installed or removed together. In 1.9.2 this was
fixed so that packages are installed in one yum transaction. However, if one
of the packages adds a new yum repository that the other packages come from
(such as epel-release) then that package needs to be installed in a separate
task. This mimics yum's command line behaviour.
* Yum itself has two types of groups. "Package groups" are specified in the rpm
itself while "environment groups" are specified in a separate file (usually by
the distribution). Unfortunately, this division becomes apparent to ansible
users because ansible needs to operate on the group of packages in a single
transaction and yum requires groups to be specified in different ways when
used in that way. Package groups are specified as "@development-tools" and
environment groups are "@^gnome-desktop-environment". Use the "yum group list"
command to see which category of group the group you want to install falls
into.
Requirements: yum
EXAMPLES:
- name: install the latest version of Apache
yum:
name: httpd
state: latest
- name: remove the Apache package
yum:
name: httpd
state: absent
- name: install the latest version of Apache from the testing repo
yum:
name: httpd
enablerepo: testing
state: present
- name: install one specific version of Apache
yum:
name: httpd-2.2.29-1.4.amzn1
state: present
- name: upgrade all packages
yum:
name: '*'
state: latest
- name: install the nginx rpm from a remote repo
yum:
name: http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
state: present
- name: install nginx rpm from a local file
yum:
name: /usr/local/src/nginx-release-centos-6-0.el6.ngx.noarch.rpm
state: present
- name: install the 'Development tools' package group
yum:
name: "@Development tools"
state: present
- name: install the 'Gnome desktop' environment group
yum:
name: "@^gnome-desktop-environment"
state: present
- name: List ansible packages and register result to print with debug later.
yum:
list: ansible
register: result
MAINTAINERS: Ansible Core Team, Seth Vidal, Berend De Schouwer (github.com/berenddeschouwer), Eduard Snesarev (githu
METADATA:
Status: ['stableinterface']
Supported_by: core
列出所有已安装的模块文档:
[root@localhost ~]# ansible-doc -l
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 Enable accelerated mode on remote node
acl Sets and retrieves file ACL information.
add_host add a host (and alternatively a group) to the ansible-playbook in-memory inv...
airbrake_deployment Notify airbrake about app deployments
aix_inittab Manages the inittab on AIX.
alternatives Manages alternative programs for common commands
aos_asn_pool Manage AOS ASN Pool
aos_blueprint Manage AOS blueprint instance
aos_blueprint_param Manage AOS blueprint parameter values
aos_blueprint_virtnet Manage AOS blueprint parameter values
aos_device Manage Devices on AOS Server
aos_external_router Manage AOS External Router
aos_ip_pool Manage AOS IP Pool
aos_logical_device Manage AOS Logical Device
aos_logical_device_map Manage AOS Logical Device Map
aos_login Login to AOS server for session token
aos_rack_type Manage AOS Rack Type
aos_template Manage AOS Template
apache2_mod_proxy Set and/or get members' attributes of an Apache httpd 2.4 mod_proxy balancer...
apache2_module enables/disables a module of the Apache2 webserver
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
archive Creates a compressed archive of one or more files or trees.
asa_acl Manage access-lists on a Cisco ASA
asa_command Run arbitrary commands on Cisco ASA devices
asa_config Manage configuration sections on Cisco ASA devices
assemble Assembles a configuration file from fragments
assert Asserts given expressions are true
async_status Obtain status of asynchronous task
at Schedule the execution of a command or script file via the at command.
atomic_host Manage the atomic host platform
atomic_image Manage the container images on the atomic host platform
authorized_key Adds or removes an SSH authorized key
avi_analyticsprofile Module for setup of AnalyticsProfile Avi RESTful Object
avi_api_session Avi API Module
avi_applicationpersistenceprofile Module for setup of ApplicationPersistenceProfile Avi RESTful Object
avi_applicationprofile Module for setup of ApplicationProfile Avi RESTful Object
avi_certificatemanagementprofile Module for setup of CertificateManagementProfile Avi RESTful Object
avi_healthmonitor Module for setup of HealthMonitor Avi RESTful Object
avi_networkprofile Module for setup of NetworkProfile Avi RESTful Object
avi_pkiprofile Module for setup of PKIProfile Avi RESTful Object
avi_pool Module for setup of Pool Avi RESTful Object
avi_poolgroup Module for setup of PoolGroup Avi RESTful Object
avi_role Module for setup of Role Avi RESTful Object
avi_sslkeyandcertificate Module for setup of SSLKeyAndCertificate Avi RESTful Object
avi_sslprofile Module for setup of SSLProfile Avi RESTful Object
avi_systemconfiguration Module for setup of SystemConfiguration Avi RESTful Object
avi_tenant Module for setup of Tenant Avi RESTful Object
avi_virtualservice Module for setup of VirtualService Avi RESTful Object
aws_kms Perform various KMS management tasks.
azure create or terminate a virtual machine in azure
azure_rm_deployment Create or destroy Azure Resource Manager template deployments
azure_rm_networkinterface Manage Azure network interfaces.
azure_rm_networkinterface_facts Get network interface facts.
azure_rm_publicipaddress Manage Azure Public IP Addresses.
azure_rm_publicipaddress_facts Get public IP facts.
azure_rm_resourcegroup Manage Azure resource groups.
azure_rm_resourcegroup_facts Get resource group facts.
azure_rm_securitygroup Manage Azure network security groups.
azure_rm_securitygroup_facts Get security group facts.
azure_rm_storageaccount Manage Azure storage accounts.
azure_rm_storageaccount_facts Get storage account facts.
azure_rm_storageblob Manage blob containers and blob objects.
azure_rm_subnet Manage Azure subnets.
azure_rm_virtualmachine Manage Azure virtual machines.
azure_rm_virtualmachineimage_facts Get virtual machine image facts.
azure_rm_virtualnetwork Manage Azure virtual networks.
azure_rm_virtualnetwork_facts Get virtual network facts.
beadm Manage ZFS boot environments on FreeBSD/Solaris/illumos systems.
bigip_device_dns Manage BIG-IP device DNS settings
bigip_device_ntp Manage NTP servers on a BIG-IP
bigip_device_sshd Manage the SSHD settings of a BIG-IP
bigip_facts Collect facts from F5 BIG-IP devices
bigip_gtm_datacenter Manage Datacenter configuration in BIG-IP
bigip_gtm_facts Collect facts from F5 BIG-IP GTM devices.
bigip_gtm_virtual_server Manages F5 BIG-IP GTM virtual servers
bigip_gtm_wide_ip Manages F5 BIG-IP GTM wide ip
bigip_hostname Manage the hostname of a BIG-IP.
bigip_irule Manage iRules across different modules on a BIG-IP.
bigip_monitor_http Manages F5 BIG-IP LTM http monitors
bigip_monitor_tcp Manages F5 BIG-IP LTM tcp monitors
bigip_node Manages F5 BIG-IP LTM nodes
bigip_pool Manages F5 BIG-IP LTM pools
bigip_pool_member Manages F5 BIG-IP LTM pool members
bigip_routedomain Manage route domains on a BIG-IP
bigip_selfip Manage Self-IPs on a BIG-IP system
bigip_snat_pool Manage SNAT pools on a BIG-IP.
bigip_ssl_certificate Import/Delete certificates from BIG-IP
bigip_sys_db Manage BIG-IP system database variables
bigip_sys_global Manage BIG-IP global settings.
bigip_virtual_server Manages F5 BIG-IP LTM virtual servers
bigip_vlan Manage VLANs on a BIG-IP system
bigmon_chain Create and remove a bigmon inline service chain.
bigmon_policy Create and remove a bigmon out-of-band policy.
bigpanda Notify BigPanda about deployments
blockinfile Insert/update/remove a text block surrounded by marker lines.
boundary_meter Manage boundary meters
bower Manage bower packages with bower
bundler Manage Ruby Gem dependencies with Bundler
bzr Deploy software (or files) from bzr branches
campfire Send a message to Campfire
capabilities Manage Linux capabilities
ce_command Run arbitrary command on HUAWEI CloudEngine devices
circonus_annotation create an annotation in circonus
cisco_spark Send a message to a Cisco Spark Room or Individual.
cl_bond Configures a bond port on Cumulus Linux
cl_bridge Configures a bridge port on Cumulus Linux
cl_img_install Install a different Cumulus Linux version.
cl_interface Configures a front panel port, loopback or management port on Cumulus Linux.
cl_interface_policy Configure interface enforcement policy on Cumulus Linux
cl_license Install licenses fo Cumulus Linux
cl_ports Configure Cumulus Switch port attributes (ports.conf)
clc_aa_policy Create or Delete Anti Affinity Policies at CenturyLink Cloud.
clc_alert_policy Create or Delete Alert Policies at CenturyLink Cloud.
clc_blueprint_package deploys a blue print package on a set of servers in CenturyLink Cloud.
clc_firewall_policy Create/delete/update firewall policies
clc_group Create/delete Server Groups at Centurylink Cloud
clc_loadbalancer Create, Delete shared loadbalancers in CenturyLink Cloud.
clc_modify_server modify servers in CenturyLink Cloud.
clc_publicip Add and Delete public ips on servers in CenturyLink Cloud.
clc_server Create, Delete, Start and Stop servers in CenturyLink Cloud.
clc_server_snapshot Create, Delete and Restore server snapshots in CenturyLink Cloud.
cloudflare_dns manage Cloudflare DNS records
cloudformation Create or delete an AWS CloudFormation stack
cloudformation_facts Obtain facts about an AWS CloudFormation stack
cloudfront_facts Obtain facts about an AWS CloudFront distribution
cloudscale_server Manages servers on the cloudscale.ch IaaS service
cloudtrail manage CloudTrail creation and deletion
cloudwatchevent_rule Manage CloudWatch Event rules and targets
cnos_backup Backup the current running or startup configuration to a remote server on de...
cnos_bgp Manage BGP resources and attributes on devices running Lenovo CNOS
cnos_command Execute a single command on devices running Lenovo CNOS
cnos_conditional_command Execute a single command based on condition on devices running Lenovo CNOS
cnos_conditional_template Manage switch configuration using templates based on condition on devices ru...
cnos_factory Reset the switch's startup configuration to default (factory) on devices run...
cnos_facts Collect facts on devices running Lenovo CNOS
cnos_image Perform firmware upgrade/download from a remote server on devices running Le...
cnos_interface Manage interface configuration on devices running Lenovo CNOS
cnos_portchannel Manage portchannel (port aggregation) configuration on devices running Lenov...
cnos_reload Perform switch restart on devices running Lenovo CNOS
cnos_rollback Roll back the running or startup configuration from a remote server on devic...
cnos_save Save the running configuration as the startup configuration on devices runni...
cnos_showrun Collect the current running configuration on devices running Lenovo CNOS
cnos_template Manage switch configuration using templates on devices running Lenovo CNOS
cnos_vlag Manage VLAG resources and attributes on devices running Lenovo CNOS
cnos_vlan Manage VLAN resources and attributes on devices running Lenovo CNOS
command Executes a command on a remote node
composer Dependency Manager for PHP
consul Add, modify & delete services within a consul cluster.
consul_acl manipulate consul acl keys and rules
consul_kv Manipulate entries in the key/value store of a consul cluster.
consul_session manipulate consul sessions
copy Copies files to remote locations.
cpanm Manages Perl library dependencies.
cron Manage cron.d and crontab entries.
cronvar Manage variables in crontabs
crypttab Encrypted Linux block devices
cs_account Manages accounts on Apache CloudStack based clouds.
cs_affinitygroup Manages affinity groups on Apache CloudStack based clouds.
cs_cluster Manages host clusters on Apache CloudStack based clouds.
cs_configuration Manages configuration on Apache CloudStack based clouds.
cs_domain Manages domains on Apache CloudStack based clouds.
cs_facts Gather facts on instances of Apache CloudStack based clouds.
cs_firewall Manages firewall rules on Apache CloudStack based clouds.
cs_host Manages hosts on Apache CloudStack based clouds.
cs_instance Manages instances and virtual machines on Apache CloudStack based clouds.
cs_instance_facts Gathering facts from the API of instances from Apache CloudStack based cloud...
cs_instancegroup Manages instance groups on Apache CloudStack based clouds.
cs_ip_address Manages public IP address associations on Apache CloudStack based clouds.
cs_iso Manages ISO images on Apache CloudStack based clouds.
cs_loadbalancer_rule Manages load balancer rules on Apache CloudStack based clouds.
cs_loadbalancer_rule_member Manages load balancer rule members on Apache CloudStack based clouds.
cs_network Manages networks on Apache CloudStack based clouds.
cs_nic Manages NICs and secondary IPs of an instance on Apache CloudStack based clo...
cs_pod Manages pods on Apache CloudStack based clouds.
cs_portforward Manages port forwarding rules on Apache CloudStack based clouds.
cs_project Manages projects on Apache CloudStack based clouds.
cs_region Manages regions on Apache CloudStack based clouds.
cs_resourcelimit Manages resource limits on Apache CloudStack based clouds.
cs_role Manages user roles on Apache CloudStack based clouds.
cs_router Manages routers on Apache CloudStack based clouds.
cs_securitygroup Manages security groups on Apache CloudStack based clouds.
cs_securitygroup_rule Manages security group rules on Apache CloudStack based clouds.
cs_snapshot_policy Manages volume snapshot policies on Apache CloudStack based clouds.
cs_sshkeypair Manages SSH keys on Apache CloudStack based clouds.
cs_staticnat Manages static NATs on Apache CloudStack based clouds.
cs_template Manages templates on Apache CloudStack based clouds.
cs_user Manages users on Apache CloudStack based clouds.
cs_vmsnapshot Manages VM snapshots on Apache CloudStack based clouds.
cs_volume Manages volumes on Apache CloudStack based clouds.
cs_vpc Manages VPCs on Apache CloudStack based clouds.
cs_zone Manages zones on Apache CloudStack based clouds.
cs_zone_facts Gathering facts of zones from Apache CloudStack based clouds.
datadog_event Posts events to DataDog service
datadog_monitor Manages Datadog monitors
debconf Configure a .deb package
debug Print statements during execution
dellos10_command Run commands on remote devices running Dell OS10
dellos10_config Manage Dell EMC Networking OS10 configuration sections
dellos10_facts Collect facts from remote devices running Dell EMC Networking OS10
dellos6_command Run commands on remote devices running Dell OS6
dellos6_config Manage Dell EMC Networking OS6 configuration sections
dellos6_facts Collect facts from remote devices running Dell EMC Networking OS6
dellos9_command Run commands on remote devices running Dell OS9
dellos9_config Manage Dell EMC Networking OS9 configuration sections
dellos9_facts Collect facts from remote devices running Dell EMC Networking OS9
deploy_helper Manages some of the steps common in deploying projects.
digital_ocean Create/delete a droplet/SSH_key in DigitalOcean
digital_ocean_block_storage Create/destroy or attach/detach Block Storage volumes in DigitalOcean
digital_ocean_domain Create/delete a DNS record in DigitalOcean
digital_ocean_sshkey Create/delete an SSH key in DigitalOcean
digital_ocean_tag Create and remove tag(s) to DigitalOcean resource.
dimensiondata_network Create, update, and delete MCP 1.0 & 2.0 networks
django_manage Manages a Django application.
dladm_etherstub Manage etherstubs on Solaris/illumos systems.
dladm_iptun Manage IP tunnel interfaces on Solaris/illumos systems.
dladm_linkprop Manage link properties on Solaris/illumos systems.
dladm_vlan Manage VLAN interfaces on Solaris/illumos systems.
dladm_vnic Manage VNICs on Solaris/illumos systems.
dnf Manages packages with the `dnf' package manager
dnsimple Interface with dnsimple.com (a DNS hosting service).
dnsmadeeasy Interface with dnsmadeeasy.com (a DNS hosting service).
docker manage docker containers
docker_container manage docker containers
docker_image Manage docker images.
docker_image_facts Inspect docker images
docker_login Log into a Docker registry.
docker_network Manage Docker networks
docker_service Manage docker services and containers.
dpkg_selections Dpkg package selection selections
dynamodb_table Create, update or delete AWS Dynamo DB tables.
easy_install Installs Python libraries
ec2 create, terminate, start or stop an instance in ec2
ec2_ami create or destroy an image in ec2
ec2_ami_copy copies AMI between AWS regions, return new image id
ec2_ami_find Searches for AMIs to obtain the AMI ID and other information
ec2_ami_search Retrieve AWS AMI information for a given operating system.
ec2_asg Create or delete AWS Autoscaling Groups
ec2_asg_facts Gather facts about ec2 Auto Scaling Groups (ASGs) in AWS
ec2_customer_gateway Manage an AWS customer gateway
ec2_eip manages EC2 elastic IP (EIP) addresses.
ec2_elb De-registers or registers instances from EC2 ELBs
ec2_elb_facts Gather facts about EC2 Elastic Load Balancers in AWS
ec2_elb_lb Creates or destroys Amazon ELB.
ec2_eni Create and optionally attach an Elastic Network Interface (ENI) to an instan...
ec2_eni_facts Gather facts about ec2 ENI interfaces in AWS
ec2_facts Gathers facts about remote hosts within ec2 (aws)
ec2_group maintain an ec2 VPC security group.
ec2_group_facts Gather facts about ec2 security groups in AWS.
ec2_key maintain an ec2 key pair.
ec2_lc Create or delete AWS Autoscaling Launch Configurations
ec2_lc_facts Gather facts about AWS Autoscaling Launch Configurations
ec2_lc_find Find AWS Autoscaling Launch Configurations
ec2_metric_alarm Create/update or delete AWS Cloudwatch 'metric alarms'
ec2_remote_facts Gather facts about ec2 instances in AWS
ec2_scaling_policy Create or delete AWS scaling policies for Autoscaling groups
ec2_snapshot creates a snapshot from an existing volume
ec2_snapshot_facts Gather facts about ec2 volume snapshots in AWS
ec2_tag create and remove tag(s) to ec2 resources.
ec2_vol create and attach a volume, return volume id and device map
ec2_vol_facts Gather facts about ec2 volumes in AWS
ec2_vpc configure AWS virtual private clouds
ec2_vpc_dhcp_options Manages DHCP Options, and can ensure the DHCP options for the given VPC matc...
ec2_vpc_dhcp_options_facts Gather facts about dhcp options sets in AWS
ec2_vpc_igw Manage an AWS VPC Internet gateway
ec2_vpc_igw_facts Gather facts about internet gateways in AWS
ec2_vpc_nacl create and delete Network ACLs.
ec2_vpc_nacl_facts Gather facts about Network ACLs in an AWS VPC
ec2_vpc_nat_gateway Manage AWS VPC NAT Gateways.
ec2_vpc_nat_gateway_facts Retrieves AWS VPC Managed Nat Gateway details using AWS methods.
ec2_vpc_net Configure AWS virtual private clouds
ec2_vpc_net_facts Gather facts about ec2 VPCs in AWS
ec2_vpc_peer create, delete, accept, and reject VPC peering connections between two VPCs.
ec2_vpc_route_table Manage route tables for AWS virtual private clouds
ec2_vpc_route_table_facts Gather facts about ec2 VPC route tables in AWS
ec2_vpc_subnet Manage subnets in AWS virtual private clouds
ec2_vpc_subnet_facts Gather facts about ec2 VPC subnets in AWS
ec2_vpc_vgw Create and delete AWS VPN Virtual Gateways.
ec2_vpc_vgw_facts Gather facts about virtual gateways in AWS
ec2_win_password gets the default administrator password for ec2 windows instances
ecs_cluster create or terminate ecs clusters
ecs_ecr Manage Elastic Container Registry repositories
ecs_service create, terminate, start or stop a service in ecs
ecs_service_facts list or describe services in ecs
ecs_task run, start or stop a task in ecs
ecs_taskdefinition register a task definition in ecs
efs create and maintain EFS file systems
efs_facts Get information about Amazon EFS file systems
ejabberd_user Manages users for ejabberd servers
elasticache Manage cache clusters in Amazon Elasticache.
elasticache_parameter_group Manage cache security groups in Amazon Elasticache.
elasticache_snapshot Manage cache snapshots in Amazon Elasticache.
elasticache_subnet_group manage Elasticache subnet groups
elasticsearch_plugin Manage Elasticsearch plugins
eos_banner Manage multiline banners on Arista EOS devices
eos_command Run arbitrary commands on an Arista EOS device
eos_config Manage Arista EOS configuration sections
eos_eapi Manage and configure Arista EOS eAPI.
eos_facts Collect facts from remote devices running Arista EOS
eos_system Manage the system attributes on Arista EOS devices
eos_template Manage Arista EOS device configurations
eos_user Manage the collection of local users on EOS devices
execute_lambda Execute an AWS Lambda function
exo_dns_domain Manages domain records on Exoscale DNS API.
exo_dns_record Manages DNS records on Exoscale DNS.
expect Executes a command and responds to prompts
facter Runs the discovery program `facter' on the remote system
fail Fail with custom message
fetch Fetches a file from remote nodes
file Sets attributes of files
filesystem Makes file system on block device
find return a list of files based on specific criteria
firewalld Manage arbitrary ports/services with firewalld
flowadm Manage bandwidth resource control and priority for protocols, services and z...
flowdock Send a message to a flowdock
foreman Manage Foreman Resources
fortios_config Manage config on Fortinet FortiOS firewall devices
fortios_ipv4_policy Manage IPv4 policy objects on Fortinet FortiOS firewall devices
gc_storage This module manages objects/buckets in Google Cloud Storage.
gcdns_record Creates or removes resource records in Google Cloud DNS
gcdns_zone Creates or removes zones in Google Cloud DNS
gce create or terminate GCE instances
gce_eip Create or Destroy Global or Regional External IP addresses.
gce_img utilize GCE image resources
gce_instance_template create or destroy intance templates of Compute Engine of GCP.
gce_lb create/destroy GCE load-balancer resources
gce_mig Create, Update or Destroy a Managed Instance Group (MIG).
gce_net create/destroy GCE networks and firewall rules
gce_pd utilize GCE persistent disk resources
gce_snapshot Create or destroy snapshots for GCE storage volumes
gce_tag add or remove tag(s) to/from GCE instances
gconftool2 Edit GNOME Configurations
gcpubsub Create and Delete Topics/Subscriptions, Publish and pull messages on PubSub.
gcpubsub_facts List Topics/Subscriptions and Messages from Google PubSub.
gcspanner Create and Delete Instances/Databases on Spanner.
gem Manage Ruby gems
get_url Downloads files from HTTP, HTTPS, or FTP to node
getent a wrapper to the unix getent utility
git Deploy software (or files) from git checkouts
git_config Read and write git configuration
github_hooks Manages github service hooks.
github_key Manage GitHub access keys.
github_release Interact with GitHub Releases
gitlab_group Creates/updates/deletes Gitlab Groups
gitlab_project Creates/updates/deletes Gitlab Projects
gitlab_user Creates/updates/deletes Gitlab Users
glance_image Add/Delete images from glance
gluster_volume Manage GlusterFS volumes
group Add or remove groups
group_by Create Ansible groups based on facts
grove Sends a notification to a grove.io channel
hall Send notification to Hall
haproxy Enable, disable, and set weights for HAProxy backend servers using socket co...
hg Manages Mercurial (hg) repositories.
hipchat Send a message to Hipchat.
homebrew Package manager for Homebrew
homebrew_cask Install/uninstall homebrew casks.
homebrew_tap Tap a Homebrew repository.
honeybadger_deployment Notify Honeybadger.io about app deployments
hostname Manage hostname
hpilo_boot Boot system using specific media through HP iLO interface
hpilo_facts Gather facts through an HP iLO interface
hponcfg Configure HP iLO interface using hponcfg
htpasswd manage user files for basic authentication
iam Manage IAM users, groups, roles and keys
iam_cert Manage server certificates for use on ELBs and CloudFront
iam_mfa_device_facts List the MFA (Multi-Factor Authentication) devices registered for a user
iam_policy Manage IAM policies for users, groups, and roles
iam_role Manage AWS IAM roles
iam_server_certificate_facts Retrieve the facts of a server certificate
icinga2_feature Manage Icinga2 feature
imgadm Manage SmartOS images
include include a play or task list.
include_role Load and execute a role
include_vars Load variables from files, dynamically within a task.
infini_export Create, Delete or Modify NFS Exports on Infinibox
infini_export_client Create, Delete or Modify NFS Client(s) for existing exports on Infinibox
infini_fs Create, Delete or Modify filesystems on Infinibox
infini_host Create, Delete and Modify Hosts on Infinibox
infini_pool Create, Delete and Modify Pools on Infinibox
infini_vol Create, Delete or Modify volumes on Infinibox
influxdb_database Manage InfluxDB databases
influxdb_retention_policy Manage InfluxDB retention policies
ini_file Tweak settings in INI files
ios_banner Manage multiline banners on Cisco IOS devices
ios_command Run commands on remote devices running Cisco IOS
ios_config Manage Cisco IOS configuration sections
ios_facts Collect facts from remote devices running Cisco IOS
ios_system Manage the system attributes on Cisco IOS devices
ios_template Manage Cisco IOS device configurations over SSH
ios_vrf Manage the collection of VRF definitions on Cisco IOS devices
iosxr_command Run commands on remote devices running Cisco IOS XR
iosxr_config Manage Cisco IOS XR configuration sections
iosxr_facts Collect facts from remote devices running IOS XR
iosxr_system Manage the system attributes on Cisco IOS XR devices
iosxr_template Manage Cisco IOS XR device configurations over SSH
ipa_group Manage FreeIPA group
ipa_hbacrule Manage FreeIPA HBAC rule
ipa_host Manage FreeIPA host
ipa_hostgroup Manage FreeIPA host-group
ipa_role Manage FreeIPA role
ipa_sudocmd Manage FreeIPA sudo command
ipa_sudocmdgroup Manage FreeIPA sudo command group
ipa_sudorule Manage FreeIPA sudo rule
ipa_user Manage FreeIPA users
ipadm_addr Manage IP addresses on an interface on Solaris/illumos systems
ipadm_addrprop Manage IP address properties on Solaris/illumos systems.
ipadm_if Manage IP interfaces on Solaris/illumos systems.
ipadm_ifprop Manage IP interface properties on Solaris/illumos systems.
ipadm_prop Manage protocol properties on Solaris/illumos systems.
ipify_facts Retrieve the public IP of your internet gateway.
ipinfoio_facts Retrieve IP geolocation facts of a host's IP address
ipmi_boot Management of order of boot devices
ipmi_power Power management for machine
iptables Modify the systems iptables
irc Send a message to an IRC channel
iso_extract Extract files from an ISO image.
jabber Send a message to jabber user or chat room
java_cert Uses keytool to import/remove key from java keystore(cacerts)
jboss deploy applications to JBoss
jenkins_job Manage jenkins jobs
jenkins_plugin Add or remove Jenkins plugin
jenkins_script Executes a groovy script in the jenkins instance
jira create and modify issues in a JIRA instance
junos_command Run arbitrary commands on an Juniper JUNOS device
junos_config Manage configuration on devices running Juniper JUNOS
junos_facts Collect facts from remote devices running Juniper Junos
junos_netconf Configures the Junos Netconf system service
junos_package Installs packages on remote devices running Junos
junos_rpc Runs an arbitrary RPC over NetConf on an Juniper JUNOS device
junos_template Manage configuration on remote devices running Juniper JUNOS
junos_user Manage local user accounts on Juniper JUNOS devices
katello Manage Katello Resources
kernel_blacklist Blacklist kernel modules
keystone_user Manage OpenStack Identity (keystone) users, tenants and roles
kibana_plugin Manage Kibana plugins
kinesis_stream Manage a Kinesis Stream.
known_hosts Add or remove a host from the `known_hosts' file
kubernetes Manage Kubernetes resources.
lambda Manage AWS Lambda functions
lambda_alias Creates, updates or deletes AWS Lambda function aliases.
lambda_event Creates, updates or deletes AWS Lambda function event mappings.
lambda_facts Gathers AWS Lambda function details as Ansible facts
layman Manage Gentoo overlays
ldap_attr Add or remove LDAP attribute values.
ldap_entry Add or remove LDAP entries.
letsencrypt Create SSL certificates with Let's Encrypt
librato_annotation create an annotation in librato
lineinfile Ensure a particular line is in a file, or replace an existing line using a b...
linode create / delete / stop / restart an instance in Linode Public Cloud
lldp get details reported by lldp
locale_gen Creates or removes locales.
logentries Module for tracking logs via logentries.com
logicmonitor Manage your LogicMonitor account through Ansible Playbooks
logicmonitor_facts Collect facts about LogicMonitor objects
logstash_plugin Manage Logstash plugins
lvg Configure LVM volume groups
lvol Configure LVM logical volumes
lxc_container Manage LXC Containers
lxd_container Manage LXD Containers
lxd_profile Manage LXD profiles
macports Package manager for MacPorts
mail Send an email
make Run targets in a Makefile
mattermost Send Mattermost notifications
maven_artifact Downloads an Artifact from a Maven Repository
meta Execute Ansible 'actions'
modprobe Add or remove kernel modules
mongodb_parameter Change an administrative parameter on a MongoDB server.
mongodb_user Adds or removes a user from a MongoDB database.
monit Manage the state of a program monitored via Monit
mount Control active and configured mount points
mqtt Publish a message on an MQTT topic for the IoT
mssql_db Add or remove MSSQL databases from a remote host.
mysql_db Add or remove MySQL databases from a remote host.
mysql_replication Manage MySQL replication
mysql_user Adds or removes a user from a MySQL database.
mysql_variables Manage MySQL global variables
na_cdot_aggregate Manage NetApp cDOT aggregates.
na_cdot_license Manage NetApp cDOT protocol and feature licenses
na_cdot_lun Manage NetApp cDOT luns
na_cdot_qtree Manage qtrees
na_cdot_svm Manage NetApp cDOT svm
na_cdot_user useradmin configuration and management
na_cdot_user_role useradmin configuration and management
na_cdot_volume Manage NetApp cDOT volumes
nagios Perform common tasks in Nagios related to downtime and notifications.
nclu Configure network interfaces using NCLU
netapp_e_amg Create, Remove, and Update Asynchronous Mirror Groups
netapp_e_amg_role Update the role of a storage array within an Asynchronous Mirror Group (AMG)...
netapp_e_amg_sync Conduct synchronization actions on asynchronous member groups.
netapp_e_auth Sets or updates the password for a storage array.
netapp_e_facts Get facts about NetApp E-Series arrays
netapp_e_flashcache Manage NetApp SSD caches
netapp_e_host manage eseries hosts
netapp_e_hostgroup Manage NetApp Storage Array Host Groups
netapp_e_lun_mapping Create or Remove LUN Mappings
netapp_e_snapshot_group Manage snapshot groups
netapp_e_snapshot_images Create and delete snapshot images
netapp_e_snapshot_volume Manage E/EF-Series snapshot volumes.
netapp_e_storage_system Add/remove arrays from the Web Services Proxy
netapp_e_storagepool Manage disk groups and disk pools
netapp_e_volume Manage storage volumes (standard and thin)
netapp_e_volume_copy Create volume copy pairs
netconf_config netconf device configuration
netscaler Manages Citrix NetScaler entities
newrelic_deployment Notify newrelic about app deployments
nexmo Send a SMS via nexmo
nginx_status_facts Retrieve nginx status facts.
nmcli Manage Networking
nova_compute Create/Delete VMs from OpenStack
nova_keypair Add/Delete key pair from nova
npm Manage node.js packages with npm
nsupdate Manage DNS records.
nxos_aaa_server Manages AAA server global configuration.
nxos_aaa_server_host Manages AAA server host-specific configuration.
nxos_acl Manages access list entries for ACLs.
nxos_acl_interface Manages applying ACLs to interfaces.
nxos_bgp Manages BGP configuration.
nxos_bgp_af Manages BGP Address-family configuration.
nxos_bgp_neighbor Manages BGP neighbors configurations.
nxos_bgp_neighbor_af Manages BGP address-family's neighbors configuration.
nxos_command Run arbitrary command on Cisco NXOS devices
nxos_config Manage Cisco NXOS configuration sections
nxos_e_global Handles the EVPN control plane for VXLAN.
nxos_e_vni Manages Cisco EVPN VXLAN Network Identifier (VNI).
nxos_facts Gets facts about NX-OS switches
nxos_feature Manage features in NX-OS switches.
nxos_file_copy Copy a file to a remote NXOS device over SCP.
nxos_gir Trigger a graceful removal or insertion (GIR) of the switch.
nxos_gir_profile_management Create a maintenance-mode or normal-mode profile for GIR.
nxos_hsrp Manages HSRP configuration on NX-OS switches.
nxos_igmp Manages IGMP global configuration.
nxos_igmp_interface Manages IGMP interface configuration.
nxos_igmp_snooping Manages IGMP snooping global configuration.
nxos_install_os Set boot options like boot image and kickstart image.
nxos_interface Manages physical attributes of interfaces.
nxos_interface_ospf Manages configuration of an OSPF interface instance.
nxos_ip_interface Manages L3 attributes for IPv4 and IPv6 interfaces.
nxos_mtu Manages MTU settings on Nexus switch.
nxos_ntp Manages core NTP configuration.
nxos_ntp_auth Manages NTP authentication.
nxos_ntp_options Manages NTP options.
nxos_nxapi Manage NXAPI configuration on an NXOS device.
nxos_ospf Manages configuration of an ospf instance.
nxos_ospf_vrf Manages a VRF for an OSPF router.
nxos_overlay_global Configures anycast gateway MAC of the switch.
nxos_pim Manages configuration of a PIM instance.
nxos_pim_interface Manages PIM interface configuration.
nxos_pim_rp_address Manages configuration of an PIM static RP address instance.
nxos_ping Tests reachability using ping from Nexus switch.
nxos_portchannel Manages port-channel interfaces.
nxos_reboot Reboot a network device.
nxos_rollback Set a checkpoint or rollback to a checkpoint.
nxos_smu Perform SMUs on Cisco NX-OS devices.
nxos_snapshot Manage snapshots of the running states of selected features.
nxos_snmp_community Manages SNMP community configs.
nxos_snmp_contact Manages SNMP contact info.
nxos_snmp_host Manages SNMP host configuration.
nxos_snmp_location Manages SNMP location information.
nxos_snmp_traps Manages SNMP traps.
nxos_snmp_user Manages SNMP users for monitoring.
nxos_static_route Manages static route configuration
nxos_switchport Manages Layer 2 switchport interfaces.
nxos_system Manage the system attributes on Cisco NXOS devices
nxos_template Manage Cisco NXOS device configurations
nxos_udld Manages UDLD global configuration params.
nxos_udld_interface Manages UDLD interface configuration params.
nxos_user Manage the collection of local users on Nexus devices
nxos_vlan Manages VLAN resources and attributes.
nxos_vpc Manages global VPC configuration
nxos_vpc_interface Manages interface VPC configuration
nxos_vrf Manages global VRF configuration.
nxos_vrf_af Manages VRF AF.
nxos_vrf_interface Manages interface specific VRF configuration.
nxos_vrrp Manages VRRP configuration on NX-OS switches.
nxos_vtp_domain Manages VTP domain configuration.
nxos_vtp_password Manages VTP password configuration.
nxos_vtp_version Manages VTP version configuration.
nxos_vxlan_vtep Manages VXLAN Network Virtualization Endpoint (NVE).
nxos_vxlan_vtep_vni Creates a Virtual Network Identifier member (VNI)
ohai Returns inventory data from `Ohai'
omapi_host Setup OMAPI hosts.
open_iscsi Manage iscsi targets with open-iscsi
openbsd_pkg Manage packages on OpenBSD.
opendj_backendprop Will update the backend configuration of OpenDJ via the dsconfig set-backend...
openssl_privatekey Generate OpenSSL private keys.
openssl_publickey Generate an OpenSSL public key from its private key.
openvswitch_bridge Manage Open vSwitch bridges
openvswitch_db Configure open vswitch database.
openvswitch_port Manage Open vSwitch ports
openwrt_init Manage services on OpenWrt.
opkg Package manager for OpenWrt
ops_command Run arbitrary commands on OpenSwitch devices.
ops_config Manage OpenSwitch configuration using CLI
ops_facts Collect device specific facts from OpenSwitch
ops_template Push configuration to OpenSwitch
ordnance_config Manage Ordnance configuration sections
ordnance_facts Collect facts from Ordnance Virtual Routers over SSH
os_auth Retrieve an auth token
os_client_config Get OpenStack Client config
os_flavor_facts Retrieve facts about one or more flavors
os_floating_ip Add/Remove floating IP from an instance
os_group Manage OpenStack Identity Groups
os_image Add/Delete images from OpenStack Cloud
os_image_facts Retrieve facts 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_facts Retrieve facts about one or more OpenStack domains
os_keystone_role Manage OpenStack Identity Roles
os_keystone_service Manage OpenStack Identity services
os_network Creates/removes networks from OpenStack
os_networks_facts Retrieve facts 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_port Add/Update/Delete ports from an OpenStack cloud.
os_port_facts Retrieve facts about ports within OpenStack.
os_project Manage OpenStack Projects
os_project_facts Retrieve facts 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_actions Perform actions on Compute Instances from OpenStack
os_server_facts Retrieve facts about one or more compute instances
os_server_group Manage OpenStack server groups
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_facts Retrieve facts about one or more OpenStack subnets.
os_user Manage OpenStack Identity Users
os_user_facts Retrieve facts about one or more OpenStack users
os_user_group Associate OpenStack Identity users and groups
os_user_role Associate OpenStack Identity users and roles
os_volume Create/Delete Cinder Volumes
os_zone Manage OpenStack DNS zones
osx_defaults osx_defaults allows users to read, write, and delete Mac OS X user defaults ...
osx_say Makes an OSX computer to speak.
ovh_ip_loadbalancing_backend Manage OVH IP LoadBalancing backends
ovirt oVirt/RHEV platform management
ovirt_affinity_groups Module to manage affinity groups in oVirt
ovirt_affinity_labels Module to manage affinity labels in oVirt
ovirt_affinity_labels_facts Retrieve facts about one or more oVirt affinity labels
ovirt_auth Module to manage authentication to oVirt
ovirt_clusters Module to manage clusters in oVirt
ovirt_clusters_facts Retrieve facts about one or more oVirt clusters
ovirt_datacenters Module to manage data centers in oVirt
ovirt_datacenters_facts Retrieve facts about one or more oVirt datacenters
ovirt_disks Module to manage Virtual Machine and floating disks in oVirt
ovirt_external_providers Module to manage external providers in oVirt
ovirt_external_providers_facts Retrieve facts about one or more oVirt external providers
ovirt_groups Module to manage groups in oVirt
ovirt_groups_facts Retrieve facts about one or more oVirt groups
ovirt_host_networks Module to manage host networks in oVirt
ovirt_host_pm Module to manage power management of hosts in oVirt
ovirt_hosts Module to manage hosts in oVirt
ovirt_hosts_facts Retrieve facts about one or more oVirt hosts
ovirt_mac_pools Module to manage MAC pools in oVirt
ovirt_networks Module to manage logical networks in oVirt
ovirt_networks_facts Retrieve facts about one or more oVirt networks
ovirt_nics Module to manage network interfaces of Virtual Machines in oVirt
ovirt_nics_facts Retrieve facts about one or more oVirt virtual machine network interfaces
ovirt_permissions Module to manage permissions of users/groups in oVirt
ovirt_permissions_facts Retrieve facts about one or more oVirt permissions
ovirt_quotas Module to manage datacenter quotas in oVirt
ovirt_quotas_facts Retrieve facts about one or more oVirt quotas
ovirt_snapshots Module to manage Virtual Machine Snapshots in oVirt
ovirt_snapshots_facts Retrieve facts about one or more oVirt virtual machine snapshots
ovirt_storage_domains Module to manage storage domains in oVirt
ovirt_storage_domains_facts Retrieve facts about one or more oVirt storage domains
ovirt_tags Module to manage tags in oVirt
ovirt_tags_facts Retrieve facts about one or more oVirt tags
ovirt_templates Module to manage virtual machine templates in oVirt
ovirt_templates_facts Retrieve facts about one or more oVirt templates
ovirt_users Module to manage users in oVirt
ovirt_users_facts Retrieve facts about one or more oVirt users
ovirt_vmpools Module to manage VM pools in oVirt
ovirt_vmpools_facts Retrieve facts about one or more oVirt vmpools
ovirt_vms Module to manage Virtual Machines in oVirt
ovirt_vms_facts Retrieve facts about one or more oVirt virtual machines
pacemaker_cluster Manage a pacemaker cluster
package Generic OS package manager
packet_device create, destroy, start, stop, and reboot a Packet Host machine.
packet_sshkey Create/delete an SSH key in Packet host.
pacman Manage packages with `pacman'
pagerduty Create PagerDuty maintenance windows
pagerduty_alert Trigger, acknowledge or resolve PagerDuty incidents
pam_limits Modify Linux PAM limits
pamd Manage PAM Modules
panos_address Create address service object on PanOS devices
panos_admin Add or modify PAN-OS user accounts password.
panos_admpwd change admin password of PAN-OS device using SSH with SSH key
panos_cert_gen_ssh generates a self-signed certificate using SSH protocol with SSH key
panos_check check if PAN-OS device is ready for configuration
panos_commit commit firewall's candidate configuration
panos_dag create a dynamic address group
panos_import import file on PAN-OS devices
panos_interface configure data-port network interface for DHCP
panos_lic apply authcode to a device/instance
panos_loadcfg load configuration on PAN-OS device
panos_mgtconfig configure management settings of device
panos_nat_policy create a policy NAT rule
panos_pg create a security profiles group
panos_restart restart a device
panos_security_policy Create security rule policy on PanOS devices.
panos_service create a service object
parted Configure block device partitions
patch Apply patch files using the GNU patch tool.
pause Pause playbook execution
pear Manage pear/pecl packages
ping Try to connect to host, verify a usable python and return `pong' on success.
pingdom Pause/unpause Pingdom alerts
pip Manages Python library dependencies.
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
pn_cluster CLI command to create/delete a cluster.
pn_ospf CLI command to add/remove ospf protocol to a vRouter.
pn_ospfarea CLI command to add/remove ospf area to/from a vrouter.
pn_show Run show commands on nvOS device.
pn_trunk CLI command to create/delete/modify a trunk.
pn_vlag CLI command to create/delete/modify vlag.
pn_vlan CLI command to create/delete a VLAN.
pn_vrouter CLI command to create/delete/modify a vrouter.
pn_vrouterbgp CLI command to add/remove/modify vrouter-bgp.
pn_vrouterif CLI command to add/remove/modify vrouter-interface.
pn_vrouterlbif CLI command to add/remove vrouter-loopback-interface.
portage Package manager for Gentoo
portinstall Installing packages from FreeBSD's ports system
postgresql_db Add or remove PostgreSQL databases from a remote host.
postgresql_ext Add or remove PostgreSQL extensions from a database.
postgresql_lang Adds, removes or changes procedural languages with a PostgreSQL database.
postgresql_privs Grant or revoke privileges on PostgreSQL database objects.
postgresql_schema Add or remove PostgreSQL schema from a remote host
postgresql_user Adds or removes a users (roles) from a PostgreSQL database.
profitbricks Create, destroy, start, stop, and reboot a ProfitBricks virtual machine.
profitbricks_datacenter Create or destroy a ProfitBricks Virtual Datacenter.
profitbricks_nic Create or Remove a NIC.
profitbricks_volume Create or destroy a volume.
profitbricks_volume_attachments Attach or detach a volume.
proxmox management of instances in Proxmox VE cluster
proxmox_kvm Management of Qemu(KVM) Virtual Machines in Proxmox VE cluster.
proxmox_template management of OS templates in Proxmox VE cluster
proxysql_backend_servers Adds or removes mysql hosts from proxysql admin interface.
proxysql_global_variables Gets or sets the proxysql global variables.
proxysql_manage_config Writes the proxysql configuration settings between layers.
proxysql_mysql_users Adds or removes mysql users from proxysql admin interface.
proxysql_query_rules Modifies query rules using the proxysql admin interface.
proxysql_replication_hostgroups Manages replication hostgroups using the proxysql admin interface.
proxysql_scheduler Adds or removes schedules from proxysql admin interface.
pubnub_blocks PubNub blocks management module.
pulp_repo Add or remove Pulp repos from a remote host.
puppet Runs puppet
pushbullet Sends notifications to Pushbullet
pushover Send notifications via https://pushover.net
quantum_floating_ip Add/Remove floating IP from an instance
quantum_floating_ip_associate Associate or disassociate a particular floating IP with an instance
quantum_network Creates/Removes networks from OpenStack
quantum_router Create or Remove router from openstack
quantum_router_gateway set/unset a gateway interface for the router with the specified external net...
quantum_router_interface Attach/Detach a subnet's interface to a router
quantum_subnet Add/remove subnet from a network
rabbitmq_binding This module manages rabbitMQ bindings
rabbitmq_exchange This module manages rabbitMQ exchanges
rabbitmq_parameter Adds or removes parameters to RabbitMQ
rabbitmq_plugin Adds or removes plugins to RabbitMQ
rabbitmq_policy Manage the state of policies in RabbitMQ.
rabbitmq_queue This module manages rabbitMQ queues
rabbitmq_user Adds or removes users to RabbitMQ
rabbitmq_vhost Manage the state of a virtual host in RabbitMQ
raw Executes a low-down and dirty SSH command
rax create / delete an instance in Rackspace Public Cloud
rax_cbs Manipulate Rackspace Cloud Block Storage Volumes
rax_cbs_attachments Manipulate Rackspace Cloud Block Storage Volume Attachments
rax_cdb create/delete or resize a Rackspace Cloud Databases instance
rax_cdb_database create / delete a database in the Cloud Databases
rax_cdb_user create / delete a Rackspace Cloud Database
rax_clb create / delete a load balancer in Rackspace Public Cloud
rax_clb_nodes add, modify and remove nodes from a Rackspace Cloud Load Balancer
rax_clb_ssl Manage SSL termination for a Rackspace Cloud Load Balancer.
rax_dns Manage domains on Rackspace Cloud DNS
rax_dns_record Manage DNS records on Rackspace Cloud DNS
rax_facts Gather facts for Rackspace Cloud Servers
rax_files Manipulate Rackspace Cloud Files Containers
rax_files_objects Upload, download, and delete objects in Rackspace Cloud Files
rax_identity Load Rackspace Cloud Identity
rax_keypair Create a keypair for use with Rackspace Cloud Servers
rax_meta Manipulate metadata for Rackspace Cloud Servers
rax_mon_alarm Create or delete a Rackspace Cloud Monitoring alarm.
rax_mon_check Create or delete a Rackspace Cloud Monitoring check for an existing entity.
rax_mon_entity Create or delete a Rackspace Cloud Monitoring entity
rax_mon_notification Create or delete a Rackspace Cloud Monitoring notification.
rax_mon_notification_plan Create or delete a Rackspace Cloud Monitoring notification plan.
rax_network create / delete an isolated network in Rackspace Public Cloud
rax_queue create / delete a queue in Rackspace Public Cloud
rax_scaling_group Manipulate Rackspace Cloud Autoscale Groups
rax_scaling_policy Manipulate Rackspace Cloud Autoscale Scaling Policy
rds create, delete, or modify an Amazon rds instance
rds_param_group manage RDS parameter groups
rds_subnet_group manage RDS database subnet groups
redhat_subscription Manage registration and subscriptions to RHSM using the `subscription-manage...
redis Various redis commands, slave and flush
redshift create, delete, or modify an Amazon Redshift instance
redshift_subnet_group mange Redshift cluster subnet groups
replace Replace all instances of a particular string in a file using a back-referenc...
rhevm RHEV/oVirt automation
rhn_channel Adds or removes Red Hat software channels
rhn_register Manage Red Hat Network registration using the `rhnreg_ks' command
riak This module handles some common Riak operations
rocketchat Send notifications to Rocket Chat
rollbar_deployment Notify Rollbar about app deployments
route53 add or delete entries in Amazons Route53 DNS service
route53_facts Retrieves route53 details using AWS methods
route53_health_check add or delete health-checks in Amazons Route53 DNS service
route53_zone add or delete Route53 zones
rpm_key Adds or removes a gpg key from the rpm db
runit Manage runit services.
s3 manage objects in S3.
s3_bucket Manage S3 buckets in AWS, Ceph, Walrus and FakeS3
s3_lifecycle Manage s3 bucket lifecycle rules in AWS
s3_logging Manage logging facility of an s3 bucket in AWS
s3_sync Efficiently upload multiple files to S3
s3_website Configure an s3 bucket as a website
script Runs a local script on a remote node after transferring it
seboolean Toggles SELinux booleans.
sefcontext Manages SELinux file context mapping definitions
selinux Change policy and state of SELinux
selinux_permissive Change permissive domain in SELinux policy
sendgrid Sends an email with the SendGrid API
sensu_check Manage Sensu checks
sensu_subscription Manage Sensu subscriptions
seport Manages SELinux network port type definitions
serverless Manages a Serverless Framework project
service Manage services.
set_fact Set host facts from a task
set_stats Set stats for the current ansible run
setup Gathers facts about remote hosts
sf_account_manager Manage SolidFire accounts
sf_check_connections Check connectivity to MVIP and SVIP.
sf_snapshot_schedule_manager Manage SolidFire snapshot schedules
sf_volume_access_group_manager Manage SolidFire Volume Access Groups
sf_volume_manager Manage SolidFire volumes
shell Execute commands in nodes.
sl_vm create or cancel a virtual instance in SoftLayer
slack Send Slack notifications
slackpkg Package manager for Slackware >= 12.2
slurp Slurps a file from remote nodes
smartos_image_facts Get SmartOS image details.
snmp_facts Retrieve facts for a device using SNMP.
sns Send Amazon Simple Notification Service (SNS) messages
sns_topic Manages AWS SNS topics and subscriptions
solaris_zone Manage Solaris zones
sorcery Package manager for Source Mage GNU/Linux
sqs_queue Creates or deletes AWS SQS queues.
sros_command Run commands on remote devices running Nokia SR OS
sros_config Manage Nokia SR OS device configuration
sros_rollback Configure Nokia SR OS rollback
stackdriver Send code deploy and annotation events to stackdriver
stacki_host Add or remove host to stacki front-end
stat retrieve file or file system status
statusio_maintenance Create maintenance windows for your status.io dashboard
sts_assume_role Assume a role using AWS Security Token Service and obtain temporary credenti...
sts_session_token Obtain a session token from the AWS Security Token Service
subversion Deploys a subversion repository.
supervisorctl Manage the state of a program or group of programs running via supervisord
svc Manage daemontools services.
svr4pkg Manage Solaris SVR4 packages
swdepot Manage packages with swdepot package manager (HP-UX)
swupd Manages updates and bundles in ClearLinux systems.
synchronize A wrapper around rsync to make common tasks in your playbooks quick and easy...
sysctl Manage entries in sysctl.conf.
systemd Manage services.
taiga_issue Creates/deletes an issue in a Taiga Project Management Platform
telegram module for sending notifications via telegram
tempfile Creates temporary files and directories.
template Templates a file out to a remote server.
timezone Configure timezone setting
tower_credential create, update, or destroy Ansible Tower credential.
tower_group create, update, or destroy Ansible Tower group.
tower_host create, update, or destroy Ansible Tower host.
tower_inventory create, update, or destroy Ansible Tower inventory.
tower_job_cancel Cancel an Ansible Tower Job.
tower_job_launch Launch an Ansible Job.
tower_job_list List Ansible Tower jobs.
tower_job_template create, update, or destroy Ansible Tower job_template.
tower_job_wait Wait for Ansible Tower job to finish.
tower_label create, update, or destroy Ansible Tower label.
tower_organization create, update, or destroy Ansible Tower organizations
tower_project create, update, or destroy Ansible Tower projects
tower_role create, update, or destroy Ansible Tower role.
tower_team create, update, or destroy Ansible Tower team.
tower_user create, update, or destroy Ansible Tower user.
twilio Sends a text message to a mobile phone through Twilio.
typetalk Send a message to typetalk
udm_dns_record Manage dns entries on a univention corporate server
udm_dns_zone Manage dns zones on a univention corporate server
udm_group Manage of the posix group
udm_share Manage samba shares on a univention corporate server
udm_user Manage posix users on a univention corporate server
ufw Manage firewall with UFW
unarchive Unpacks an archive after (optionally) copying it from the local machine.
uptimerobot Pause and start Uptime Robot monitoring
uri Interacts with webservices
urpmi Urpmi manager
user Manage user accounts
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.
vertica_configuration Updates Vertica configuration parameters.
vertica_facts Gathers Vertica database facts.
vertica_role Adds or removes Vertica database roles and assigns roles to them.
vertica_schema Adds or removes Vertica database schema and roles.
vertica_user Adds or removes Vertica database users and assigns roles.
virt Manages virtual machines supported by libvirt
virt_net Manage libvirt network configuration
virt_pool Manage libvirt storage pools
vmadm Manage SmartOS virtual machines and zones.
vmware_cluster Create VMware vSphere Cluster
vmware_datacenter Manage VMware vSphere Datacenters
vmware_dns_config Manage VMware ESXi DNS Configuration
vmware_dvs_host Add or remove a host from distributed virtual switch
vmware_dvs_portgroup Create or remove a Distributed vSwitch portgroup
vmware_dvswitch Create or remove a distributed vSwitch
vmware_guest Manages virtual machines in vcenter
vmware_guest_facts Gather facts about a single VM
vmware_guest_snapshot Manages virtual machines snapshots in vcenter
vmware_host Add/remove ESXi host to/from vCenter
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_portgroup Create a VMware portgroup
vmware_target_canonical_facts Return canonical (NAA) from an ESXi host
vmware_vm_facts Return basic facts pertaining to a vSphere virtual machine guest
vmware_vm_shell Execute a process in VM
vmware_vm_vss_dvs_migrate Migrates a virtual machine from a standard vswitch to distributed
vmware_vmkernel Create a VMware VMkernel Interface
vmware_vmkernel_ip_config Configure the VMkernel IP Address
vmware_vmotion Move a virtual machine using vMotion
vmware_vsan_cluster Configure VSAN clustering on an ESXi host
vmware_vswitch Add a VMware Standard Switch to an ESXi host
vsphere_copy Copy a file to a vCenter datastore
vsphere_guest Create/delete/manage a guest VM through VMware vSphere.
vyos_command Run one or more commands on VyOS devices
vyos_config Manage VyOS configuration on remote device
vyos_facts Collect facts from remote devices running VyOS
vyos_system Run `set system` commands on VyOS devices
wait_for Waits for a condition before continuing.
wait_for_connection Waits until remote system is reachable/usable
wakeonlan Send a magic Wake-on-LAN (WoL) broadcast packet
webfaction_app Add or remove applications on a Webfaction host
webfaction_db Add or remove a database on Webfaction
webfaction_domain Add or remove domains and subdomains on Webfaction
webfaction_mailbox Add or remove mailboxes on Webfaction
webfaction_site Add or remove a website on a Webfaction host
win_acl Set file/directory permissions for a system user or group.
win_acl_inheritance Change ACL inheritance
win_chocolatey Installs packages using chocolatey
win_command Executes a command on a remote Windows node
win_copy Copies files to remote locations on windows hosts.
win_disk_image Manage ISO/VHD/VHDX mounts on Windows hosts
win_dns_client Configures DNS lookup on Windows hosts
win_domain Ensures the existence of a Windows domain.
win_domain_controller Manage domain controller/member server state for a Windows host
win_domain_membership Manage domain/workgroup membership for a Windows host
win_dotnet_ngen Runs ngen to recompile DLLs after .NET updates
win_environment Modifies environment variables on windows hosts.
win_feature Installs and uninstalls Windows Features on Windows Server
win_file Creates, touches or removes files or directories.
win_file_version Get DLL or EXE file build version
win_find return a list of files based on specific criteria
win_firewall_rule Windows firewall automation
win_get_url Fetches a file from a given URL
win_group Add and remove local groups
win_iis_virtualdirectory Configures a virtual directory in IIS.
win_iis_webapplication Configures IIS web applications.
win_iis_webapppool Configures an IIS Web Application Pool.
win_iis_webbinding Configures a IIS Web site.
win_iis_website Configures a IIS Web site.
win_lineinfile Ensure a particular line is in a file, or replace an existing line using a b...
win_msg Sends a message to logged in users on Windows hosts.
win_msi Installs and uninstalls Windows MSI files
win_nssm NSSM - the Non-Sucking Service Manager
win_owner Set owner
win_package Installs/Uninstalls an installable package, either from local file system or...
win_path Manage Windows path environment variables
win_ping A windows version of the classic ping module.
win_psexec Runs commands (remotely) as another (privileged) user
win_reboot Reboot a windows machine
win_reg_stat returns information about a Windows registry key or property of a key
win_regedit Add, change, or remove registry keys and values
win_region Set the region and format settings
win_regmerge Merges the contents of a registry file into the windows registry
win_robocopy Synchronizes the contents of two directories using Robocopy.
win_say Text to speech module for Windows to speak messages and optionally play soun...
win_scheduled_task Manage scheduled tasks
win_service Manages Windows services
win_share Manage Windows shares
win_shell Execute shell commands on target hosts.
win_shortcut Manage shortcuts on Windows
win_stat returns information about a Windows file
win_tempfile Creates temporary files and directories.
win_template Templates a file out to a remote server.
win_timezone Sets Windows machine timezone
win_unzip Unzips compressed files and archives on the Windows node
win_updates Download and install Windows updates
win_uri Interacts with webservices.
win_user Manages local Windows user accounts
win_webpicmd Installs packages using Web Platform Installer command-line
xattr set/retrieve extended attributes
xbps Manage packages with XBPS
xenserver_facts get facts reported on xenserver
yum Manages packages with the `yum' package manager
yum_repository Add or remove YUM repositories
zabbix_group Zabbix host groups creates/deletes
zabbix_host Zabbix host creates/updates/deletes
zabbix_hostmacro Zabbix host macro creates/updates/deletes
zabbix_maintenance Create Zabbix maintenance windows
zabbix_screen Zabbix screen creates/updates/deletes
zfs Manage zfs
zfs_facts Gather facts about ZFS datasets.
znode Create, delete, retrieve, and update znodes using ZooKeeper
zpool_facts Gather facts about ZFS pools.
zypper Manage packages on SUSE and openSUSE
zypper_repository Add and remove Zypper repositorie