以前投稿した Ansible 2.0 の新モジュール、新オプション一覧 の Ansible 2.3 版です。
Ansible 2.3 は 2017-04-12 に出ているので、かなり今更ですが……。Ansible 2.3 の CHANGELOG と合わせてご覧ください。
なお、今回は、以下のページで、オプションの説明が長すぎるせいか、パースがうまくいかない部分がありました。そこは手作業で編集しました。
- ovirt_disks - Module to manage Virtual Machine and floating disks in oVirt/RHV
- ovirt_vms - Module to manage Virtual Machines in oVirt/RHV
- vmware_guest - Manages virtual machines in vcenter
あとは、Network Modules の NX-OS 関係のモジュールで、timeout パラメータのみの追加が多かったので、そこも手作業で少し削りました。このあたり、今後はもう少しスクリプトを改善して自動化したいところです。
Modules added in version 2.3
Cloud Modules
- aws_kms - Perform various KMS management tasks.
- cloudfront_facts - Obtain facts about an AWS CloudFront distribution
- cloudscale_server - Manages servers on the cloudscale.ch IaaS service
- cs_host - Manages hosts on Apache CloudStack based clouds.
- cs_nic - Manages NICs and secondary IPs of an instance on Apache CloudStack based clouds.
- cs_region - Manages regions on Apache CloudStack based clouds.
- cs_role - Manages user roles on Apache CloudStack based clouds.
- cs_vpc - Manages VPCs on Apache CloudStack based clouds.
- dimensiondata_network - Create, update, and delete MCP 1.0 & 2.0 networks
- ec2_group_facts - Gather facts about ec2 security groups in AWS.
- ec2_lc_facts - Gather facts about AWS Autoscaling Launch Configurations
- ec2_vpc_igw_facts - Gather facts about internet gateways in AWS
- ec2_vpc_nat_gateway_facts - Retrieves AWS VPC Managed Nat Gateway details using AWS methods.
- ec2_vpc_vgw_facts - Gather facts about virtual gateways in AWS
- ecs_ecr - Manage Elastic Container Registry repositories
- elasticache_parameter_group - Manage cache security groups in Amazon Elasticache.
- elasticache_snapshot - Manage cache snapshots in Amazon Elasticache.
- gce_eip - Create or Destroy Global or Regional External IP addresses.
- gce_instance_template - create or destroy instance templates of Compute Engine of GCP.
- gce_snapshot - Create or destroy snapshots for GCE storage volumes
- 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.
- iam_role - Manage AWS IAM roles
- imgadm - Manage SmartOS images
- os_nova_host_aggregate - Manage OpenStack host aggregates
- os_quota - Manage OpenStack Quotas
- ovirt_affinity_groups - Module to manage affinity groups in oVirt/RHV
- ovirt_affinity_labels - Module to manage affinity labels in oVirt/RHV
- ovirt_affinity_labels_facts - Retrieve facts about one or more oVirt/RHV affinity labels
- ovirt_clusters - Module to manage clusters in oVirt/RHV
- ovirt_clusters_facts - Retrieve facts about one or more oVirt/RHV clusters
- ovirt_datacenters - Module to manage data centers in oVirt/RHV
- ovirt_datacenters_facts - Retrieve facts about one or more oVirt/RHV datacenters
- ovirt_external_providers - Module to manage external providers in oVirt/RHV
- ovirt_external_providers_facts - Retrieve facts about one or more oVirt/RHV external providers
- ovirt_groups - Module to manage groups in oVirt/RHV
- ovirt_groups_facts - Retrieve facts about one or more oVirt/RHV groups
- ovirt_host_networks - Module to manage host networks in oVirt/RHV
- ovirt_host_pm - Module to manage power management of hosts in oVirt/RHV
- ovirt_hosts - Module to manage hosts in oVirt/RHV
- ovirt_hosts_facts - Retrieve facts about one or more oVirt/RHV hosts
- ovirt_mac_pools - Module to manage MAC pools in oVirt/RHV
- ovirt_networks - Module to manage logical networks in oVirt/RHV
- ovirt_networks_facts - Retrieve facts about one or more oVirt/RHV networks
- ovirt_nics - Module to manage network interfaces of Virtual Machines in oVirt/RHV
- ovirt_nics_facts - Retrieve facts about one or more oVirt/RHV virtual machine network interfaces
- ovirt_permissions - Module to manage permissions of users/groups in oVirt/RHV
- ovirt_permissions_facts - Retrieve facts about one or more oVirt/RHV permissions
- ovirt_quotas - Module to manage datacenter quotas in oVirt/RHV
- ovirt_quotas_facts - Retrieve facts about one or more oVirt/RHV quotas
- ovirt_snapshots - Module to manage Virtual Machine Snapshots in oVirt/RHV
- ovirt_snapshots_facts - Retrieve facts about one or more oVirt/RHV virtual machine snapshots
- ovirt_storage_domains - Module to manage storage domains in oVirt/RHV
- ovirt_storage_domains_facts - Retrieve facts about one or more oVirt/RHV storage domains
- ovirt_tags - Module to manage tags in oVirt/RHV
- ovirt_tags_facts - Retrieve facts about one or more oVirt/RHV tags
- ovirt_templates - Module to manage virtual machine templates in oVirt/RHV
- ovirt_templates_facts - Retrieve facts about one or more oVirt/RHV templates
- ovirt_users - Module to manage users in oVirt/RHV
- ovirt_users_facts - Retrieve facts about one or more oVirt/RHV users
- ovirt_vmpools - Module to manage VM pools in oVirt/RHV
- ovirt_vmpools_facts - Retrieve facts about one or more oVirt/RHV vmpools
- ovirt_vms_facts - Retrieve facts about one or more oVirt/RHV virtual machines
- packet_device - create, destroy, start, stop, and reboot a Packet Host machine.
- packet_sshkey - Create/delete an SSH key in Packet host.
- proxmox_kvm - Management of Qemu(KVM) Virtual Machines in Proxmox VE cluster.
- s3_sync - Efficiently upload multiple files to S3
- serverless - Manages a Serverless Framework project
- vmadm - Manage SmartOS virtual machines and zones.
- vmware_guest_facts - Gather facts about a single VM
- vmware_guest_snapshot - Manages virtual machines snapshots in vcenter
- vmware_resource_pool - Add/remove resource pools to/from vCenter
Clustering Modules
Crypto Modules
- openssl_privatekey - Generate OpenSSL private keys.
- openssl_publickey - Generate an OpenSSL public key from its private key.
Database Modules
- postgresql_schema - Add or remove PostgreSQL schema from a remote host
- 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.
Files Modules
- archive - Creates a compressed archive of one or more files or trees.
- iso_extract - Extract files from an ISO image.
- tempfile - Creates temporary files and directories.
Identity Modules
- 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
Monitoring Modules
Net Tools Modules
- ipinfoio_facts - Retrieve IP geolocation facts of a host’s IP address
- ldap_attr - Add or remove LDAP attribute values.
- ldap_entry - Add or remove LDAP entries.
- nsupdate - Manage DNS records.
- omapi_host - Setup OMAPI hosts.
Network Modules
- a10_server_axapi3 - Manage A10 Networks AX/SoftAX/Thunder/vThunder devices
- 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
- 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
- bigip_gtm_facts - Collect facts from F5 BIG-IP GTM devices.
- bigip_hostname - Manage the hostname of a BIG-IP.
- bigip_snat_pool - Manage SNAT pools on a BIG-IP.
- bigip_sys_global - Manage BIG-IP global settings.
- bigmon_chain - Create and remove a bigmon inline service chain.
- bigmon_policy - Create and remove a bigmon out-of-band policy.
- ce_command - Run arbitrary command on HUAWEI CloudEngine devices.
- cnos_backup - Backup the current running or startup configuration to a remote server on devices running Lenovo CNOS
- 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 running Lenovo CNOS
- cnos_factory - Reset the switch’s startup configuration to default (factory) on devices running Lenovo CNOS
- cnos_facts - Collect facts on devices running Lenovo CNOS
- cnos_image - Perform firmware upgrade/download from a remote server on devices running Lenovo CNOS
- cnos_interface - Manage interface configuration on devices running Lenovo CNOS
- cnos_portchannel - Manage portchannel (port aggregation) configuration on devices running Lenovo CNOS
- cnos_reload - Perform switch restart on devices running Lenovo CNOS
- cnos_rollback - Roll back the running or startup configuration from a remote server on devices running Lenovo CNOS
- cnos_save - Save the running configuration as the startup configuration on devices running Lenovo CNOS
- 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
- 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.
- eos_banner - Manage multiline banners on Arista EOS devices
- eos_system - Manage the system attributes on Arista EOS devices
- eos_user - Manage the collection of local users on EOS devices
- fortios_config - Manage config on Fortinet FortiOS firewall devices
- fortios_ipv4_policy - Manage IPv4 policy objects on Fortinet FortiOS firewall devices
- ios_banner - Manage multiline banners on Cisco IOS devices
- ios_system - Manage the system attributes on Cisco IOS devices
- ios_vrf - Manage the collection of VRF definitions on Cisco IOS devices
- iosxr_system - Manage the system attributes on Cisco IOS XR devices
- ipadm_addr - Manage IP addresses on an interface on Solaris/illumos systems
- ipadm_addrprop - Manage IP address properties on Solaris/illumos systems.
- ipadm_ifprop - Manage IP interface properties on Solaris/illumos systems.
- junos_rpc - Runs an arbitrary RPC over NetConf on an Juniper JUNOS device
- junos_user - Manage local user accounts on Juniper JUNOS devices
- nclu - Configure network interfaces using NCLU
- nxos_system - Manage the system attributes on Cisco NXOS devices
- nxos_user - Manage the collection of local users on Nexus devices
- ordnance_config - Manage Ordnance configuration sections
- ordnance_facts - Collect facts from Ordnance Virtual Routers over SSH
- 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
- vyos_system - Run set system commands on VyOS devices
Notification Modules
- cisco_spark - Send a message to a Cisco Spark Room or Individual.
- mattermost - Send Mattermost notifications
Packaging Modules
- pulp_repo - Add or remove Pulp repos from a remote host.
- sorcery - Package manager for Source Mage GNU/Linux
- swupd - Manages updates and bundles in ClearLinux systems.
- xbps - Manage packages with XBPS
Remote Management Modules
- foreman - Manage Foreman Resources
- 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
- katello - Manage Katello Resources
- stacki_host - Add or remove host to stacki front-end
Storage Modules
- 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
- 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
- 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
- zfs_facts - Gather facts about ZFS datasets.
- zpool_facts - Gather facts about ZFS pools.
System Modules
- aix_inittab - Manages the inittab on AIX.
- beadm - Manage ZFS boot environments on FreeBSD/Solaris/illumos systems.
- gconftool2 - Edit GNOME Configurations
- java_cert - Uses keytool to import/remove key from java keystore(cacerts)
- openwrt_init - Manage services on OpenWrt.
- pamd - Manage PAM Modules
- parted - Configure block device partitions
- runit - Manage runit services.
Utilities Modules
- set_stats - Set stats for the current ansible run
- wait_for_connection - Waits until remote system is reachable/usable
Web Infrastructure Modules
- jenkins_script - Executes a groovy script in the jenkins instance
- nginx_status_facts - Retrieve nginx status facts.
- 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.
Windows Modules
- 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_find - return a list of files based on specific criteria
- win_msg - Sends a message to logged in users on Windows hosts.
- win_path - Manage Windows path environment variables
- win_psexec - Runs commands (remotely) as another (privileged) user
- win_reg_stat - returns information about a Windows registry key or property of a key
- win_region - Set the region and format settings
- win_say - Text to speech module for Windows to speak messages and optionally play sounds
- win_shortcut - Manage shortcuts on Windows
- win_tempfile - Creates temporary files and directories.
Options added in version 2.3
Cloud Modules
-
cloudformation - Create or delete an AWS CloudFormation stack
- role_arn: The role that AWS CloudFormation assumes to create the stack. See the AWS CloudFormation Service Role docs http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-servicerole.html
-
cs_iso - Manages ISO images on Apache CloudStack based clouds.
- poll_async: Poll async jobs until job has finished.
-
cs_portforward - Manages port forwarding rules on Apache CloudStack based clouds.
- network: Name of the network.
- vpc: Name of the VPC.
-
cs_snapshot_policy - Manages volume snapshot policies on Apache CloudStack based clouds.
- device_id: ID of the device on a VM the volume is attached to.This will only be considered if VM has multiple DATADISK volumes.
- vm: Name of the instance to select the volume from.Use volume_type if VM has a DATADISK and ROOT volume.In case of volume_type=DATADISK, additionally use device_id if VM has more than one DATADISK volume.Either volume or vm is required.
- volume_type: Type of the volume.
- vpc: Name of the vpc the instance is deployed in.
-
cs_staticnat - Manages static NATs on Apache CloudStack based clouds.
- vpc: VPC the network related to.
-
docker_login - Log into a Docker registry.
- state: This controls the current state of the user. present will login in a user, absent will log him out.To logout you only need the registry server, which defaults to DockerHub.Before 2.1 you could ONLY log in.docker does not support 'logout' with a custom config file.
-
ec2_ami - create or destroy an image in ec2
- architecture: The target architecture of the image to register
- kernel_id: The target kernel id of the image to register
- root_device_name: The root device name of the image to register
- virtualization_type: The virtualization type of the image to register
-
dynamodb_table - Create, update or delete AWS Dynamo DB tables.
- tags: a hash/dictionary of tags to add to the new instance or for starting/stopping instance by tag; '{"key":"value"}' and '{"key":"value","key":"value"}'
- wait_for_active_timeout: how long before wait gives up, in seconds. only used when tags is set
-
ec2_ami_find - Searches for AMIs to obtain the AMI ID and other information
- product_code: Marketplace product code to match.
-
ec2_asg - Create or delete AWS Autoscaling Groups
- placement_group: Physical location of your cluster placement group created in Amazon EC2.
- suspend_processes: A list of scaling processes to suspend.
-
ec2_eip - manages EC2 elastic IP (EIP) addresses.
- private_ip_address: The primary or secondary private IP address to associate with the Elastic IP address.
-
ec2_key - maintain an ec2 key pair.
- force: Force overwrite of already existing key pair if key has changed.
-
ec2_lc - Create or delete AWS Autoscaling Launch Configurations
- user_data_path: Path to the file that contains userdata for the ec2 instances. Mutually exclusive with user_data.
-
ec2_vol - create and attach a volume, return volume id and device map
- kms_key_id: Specify the id of the KMS key to use.
- tags: tag:value pairs to add to the volume after creation
-
ec2_vpc_route_table - Manage route tables for AWS virtual private clouds
- purge_routes: Purge existing routes that are not found in routes.
- purge_subnets: Purge existing subnets that are not found in subnets.
-
ecs_service - create, terminate, start or stop a service in ecs
- deployment_configuration: Optional parameters that control the deployment_configuration; format is '{"maximum_percent":, "minimum_healthy_percent":}
-
ecs_taskdefinition - register a task definition in ecs
- network_mode: The Docker networking mode to use for the containers in the task.
- task_role_arn: The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.
-
gce - create or terminate GCE instances
- disk_size: The size of the boot disk created for this instance (in GB)
- num_instances: can be used with 'name', specifies the number of nodes to provision using 'name' as a base name
-
gce_mig - Create, Update or Destroy a Managed Instance Group (MIG).
- named_ports: Define named ports that backend services can forward data to. Format is a a list of name:port dictionaries.
-
gce_pd - utilize GCE persistent disk resources
- delete_on_termination: If yes, deletes the volume when instance is terminated
-
gce_tag - add or remove tag(s) to/from GCE instances
- instance_pattern: The pattern of GCE instance names to match for adding/removing tags. Full-Python regex is supported. See https://docs.python.org/2/library/re.html for details. If instance_name is not specified, this field is required.
-
lambda - Manage AWS Lambda functions
- dead_letter_arn: The parent object that contains the target Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
- environment_variables: A dictionary of environment variables the Lambda function is given.
aliases: environment
-
linode - create / delete / stop / restart an instance in Linode Public Cloud
-
additional_disks: List of dictionaries for creating additional disks that are added to the Linode configuration settings. Dictionary takes Size, Label, Type. Size is in MB.
-
alert_bwin_enabled: Set status of bandwidth in alerts.
-
alert_bwin_threshold: Set threshold in MB of bandwidth in alerts.
-
alert_bwout_enabled: Set status of bandwidth out alerts.
-
alert_bwout_threshold: Set threshold in MB of bandwidth out alerts.
-
alert_bwquota_enabled: Set status of bandwidth quota alerts as percentage of network tranfer quota.
-
alert_bwquota_threshold: Set threshold in MB of bandwidth quota alerts.
-
alert_cpu_enabled: Set status of receiving CPU usage alerts.
-
alert_cpu_threshold: Set percentage threshold for receiving CPU usage alerts. Each CPU core adds 100% to total.
-
alert_diskio_enabled: Set status of receiving disk IO alerts.
-
alert_diskio_threshold: Set threshold for average IO ops/sec over 2 hour period.
-
backupweeklyday: Integer value for what day of the week to store weekly backups.
-
displaygroup: Add the instance to a Display Group in Linode Manager
-
private_ip: Add private IPv4 address when Linode is created.
-
-
os_flavor_facts - Retrieve facts about one or more flavors
- ephemeral: A string used for filtering flavors based on the amount of ephemeral storage. Format is the same as the ram parameter
-
os_floating_ip - Add/Remove floating IP from an instance
- nat_destination: The name or id of a neutron private network that the fixed IP to attach floating IP is on
aliases: fixed_network, internal_network
- nat_destination: The name or id of a neutron private network that the fixed IP to attach floating IP is on
-
os_group - Manage OpenStack Identity Groups
- domain_id: Domain id to create the group in if the cloud supports domains.
-
os_nova_flavor - Manage OpenStack compute flavors
- extra_specs: Metadata dictionary
-
os_server_actions - Perform actions on Compute Instances from OpenStack
- image: Image the server should be rebuilt with
-
os_user - Manage OpenStack Identity Users
- update_password: always will attempt to update password. on_create will only set the password for newly created users.
-
os_volume - Create/Delete Cinder Volumes
- volume: Volume name or id to create from
-
ovirt_disks - Module to manage Virtual Machine and floating disks in oVirt/RHV
- download_image_path: Path on a file system where disk should be downloaded.Note that you must have an valid oVirt/RHV engine CA in your system trust store or you must provide it in ca_file parameter.Note that the disk is not downloaded when the file already exists, but you can forcibly download the disk when using force I (true).
- fetch_nested: If True the module will fetch additional data from the API.It will fetch IDs of the VMs disks, snapshots, etc. User can configure to fetch other attributes of the nested entities by specifying nested_attributes.
- force: Please take a look at image_path documentation to see the correct usage of this parameter.
- nested_attributes: Specifies list of the attributes which should be fetched from the API.This parameter apply only when fetch_nested is true.
- storage_domains: Storage domain names where disk should be copied.
- upload_image_path: Path to disk image, which should be uploaded.
-
ovirt_vms - Module to manage Virtual Machines in oVirt/RHV
- cloud_init_nics: List of dictionaries representing network interafaces to be setup by cloud init.
- comment: Comment of the Virtual Machine.
- description: Description of the Virtual Machine.
- fetch_nested: If True the module will fetch additional data from the API.It will fetch IDs of the VMs disks, snapshots, etc. User can configure to fetch other attributes of the nested entities by specifying nested_attributes.
- initrd_path: Path to an initial ramdisk to be used with the kernel specified by kernel_path option.Ramdisk image must be stored on either the ISO domain or on the host's storage.
- instance_type: Name of virtual machine's hardware configuration.By default no instance type is used.
- kernel_params: Kernel command line parameters (formatted as string) to be used with the kernel specified by kernel_path option.
- kernel_path: Path to a kernel image used to boot the virtual machine.Kernel image must be stored on either the ISO domain or on the host's storage.
- kvm: Dictionary of values to be used to connect to kvm and import a virtual machine to oVirt.
- nested_attributes: Specifies list of the attributes which should be fetched from the API.This parameter apply only when fetch_nested is true.
- serial_policy: Specify a serial number policy for the Virtual Machine.Following options are supported:vm - Sets the Virtual Machine's UUID as its serial number.host - Sets the host's UUID as the Virtual Machine's serial number.custom - Allows you to specify a custom serial number in serial_policy_value.
- serial_policy_value: Allows you to specify a custom serial number.This parameter is used only when serial_policy is custom.
- template_version: Version number of the template to be used for VM.By default the latest available version of the template is used.
- timezone: Sets time zone offset of the guest hardware clock.For example: Etc/GMT
- use_latest_template_version: Specify if latest template version should be used, when running a stateless VM.If this parameter is set to true stateless VM is created.
- vmware: Dictionary of values to be used to connect to VMware and import a virtual machine to oVirt.
- xen: Dictionary of values to be used to connect to XEN and import a virtual machine to oVirt.
-
proxmox - management of instances in Proxmox VE cluster
- pool: Proxmox VE resource pool
- pubkey: Public key to add to /root/.ssh/authorized_keys. This was added on Proxmox 4.2, it is ignored for earlier versions
- unprivileged: Indicate if the container should be unprivileged
-
- ignore_nonexistent_bucket: Overrides initial bucket lookups in case bucket or iam policies are restrictive. Example: a user may have the GetObject permission but no other permissions. In this case using the option mode: get will fail without specifying ignore_nonexistent_bucket: True.
-
udm_user - Manage posix users on a univention corporate server
- update_password: always will update passwords if they differ. on_create will only set the password for newly created users.
-
virt - Manages virtual machines supported by libvirt
- autostart: start VM at host startup
-
vmware_guest - Manages virtual machines in vcenter
-
annotation: A note or annotation to include in the VM
-
cluster: The cluster name where the VM will run.
-
customization: Parameters to customize template
-
customvalues: Define a list of customvalues to set on VM.A customvalue object takes 2 fields 'key' and 'value'.
-
guest_id: Set the guest ID (Debian, RHEL, Windows...)This field is required when creating a VMValid values are referenced here: https://www.vmware.com/support/developer/converter-sdk/conv55_apireference/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html
-
is_template: Flag the instance as a template
-
networks: Network to use should include name or vlan entryAdd an optional ip and netmask for network configurationAdd an optional gateway entry to configure a gatewayAdd an optional mac entry to customize mac addressAdd an optional dns_servers or domain entry per interface (Windows)Add an optional device_type to configure the virtual NIC (pcnet32, vmxnet2, vmxnet3, e1000, e1000e)
-
resource_pool: Affect machine to the given resource poolResource pool should be child of the selected host parent
-
Database Modules
-
postgresql_db - Add or remove PostgreSQL databases from a remote host.
- ssl_mode: Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.See https://www.postgresql.org/docs/current/static/libpq-ssl.html for more information on the modes.Default of prefer matches libpq default.
- ssl_rootcert: Specifies the name of a file containing SSL certificate authority (CA) certificate(s).If the file exists, the server's certificate will be verified to be signed by one of these authorities.
-
postgresql_privs - Grant or revoke privileges on PostgreSQL database objects.
- ssl_mode: Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.See https://www.postgresql.org/docs/current/static/libpq-ssl.html for more information on the modes.Default of prefer matches libpq default.
- ssl_rootcert: Specifies the name of a file containing SSL certificate authority (CA) certificate(s). If the file exists, the server's certificate will be verified to be signed by one of these authorities.
-
postgresql_user - Adds or removes a users (roles) from a PostgreSQL database.
- ssl_mode: Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.See https://www.postgresql.org/docs/current/static/libpq-ssl.html for more information on the modes.Default of prefer matches libpq default.
- ssl_rootcert: Specifies the name of a file containing SSL certificate authority (CA) certificate(s). If the file exists, the server's certificate will be verified to be signed by one of these authorities.
Files Modules
-
assemble - Assembles a configuration file from fragments
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
blockinfile - Insert/update/remove a text block surrounded by marker lines.
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
copy - Copies files to remote locations.
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
file - Sets attributes of files
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
ini_file - Tweak settings in INI files
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
lineinfile - Ensure a particular line is in a file, or replace an existing line using a back-referenced regular expression.
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
replace - Replace all instances of a particular string in a file using a back-referenced regular expression.
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
stat - Retrieve file or file system status
- get_attributes: Get file attributes using lsattr tool if present.
aliases: attr, attributes
- get_attributes: Get file attributes using lsattr tool if present.
-
template - Templates a file out to a remote server.
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
unarchive - Unpacks an archive after (optionally) copying it from the local machine.
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
Monitoring Modules
-
datadog_monitor - Manages Datadog monitors
- id: The id of the alert. If set, will be used instead of the name to locate the alert.
- require_full_window: A boolean indicating whether this monitor needs a full window of data before it's evaluated. We highly recommend you set this to False for sparse metrics, otherwise some evaluations will be skipped.
-
zabbix_host - Zabbix host creates/updates/deletes
- visible_name: Visible name of the host in Zabbix.
Net Tools Modules
-
cloudflare_dns - manage Cloudflare DNS records
- proxied: Proxy through cloudflare network or just use DNS
-
get_url - Downloads files from HTTP, HTTPS, or FTP to node
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
ipify_facts - Retrieve the public IP of your internet gateway.
- timeout: HTTP connection timeout in seconds.
Network Modules
-
a10_virtual_server - Manage A10 Networks AX/SoftAX/Thunder/vThunder devices’ virtual servers.
- partition: set active-partition
-
a10_service_group - Manage A10 Networks AX/SoftAX/Thunder/vThunder devices’ service groups.
- partition: set active-partition
-
a10_server - Manage A10 Networks AX/SoftAX/Thunder/vThunder devices’ server object.
- partition: set active-partition
- validate_certs: If no, SSL certificates will not be validated. This should only be used on personally controlled devices using self-signed certificates.
-
bigip_pool - Manages F5 BIG-IP LTM pools
- description: Specifies descriptive text that identifies the pool.
-
bigip_selfip - Manage Self-IPs on a BIG-IP system
- route_domain: The route domain id of the system. If none, id of the route domain will be "0" (default route domain)
-
bigip_virtual_server - Manages F5 BIG-IP LTM virtual servers
- all_policies: List of all policies enabled for the virtual server.
- fallback_persistence_profile: Specifies the persistence profile you want the system to use if it cannot use the specified default persistence profile.
- route_advertisement_state: Enable route advertisement for destination
-
ios_config - Manage Cisco IOS configuration sections
- multiline_delimiter: This argument is used when pushing a multiline configuration element to the IOS device. It specifies the character to use as the delimiting character. This only applies to the configuration action.
-
junos_config - Manage configuration on devices running Juniper JUNOS
- update: This argument will decide how to load the configuration data particulary when the candidate configuration and loaded configuration contain conflicting statements. Following are accepted values. merge combines the data in the loaded configuration with the candidate configuration. If statements in the loaded configuration conflict with statements in the candidate configuration, the loaded statements replace the candidate ones. override discards the entire candidate configuration and replaces it with the loaded configuration. replace substitutes each hierarchy level in the loaded configuration for the corresponding level.
-
junos_command - Run arbitrary commands on an Juniper JUNOS device
- display: Encoding scheme to use when serializing output from the device. This handles how to properly understand the output and apply the conditionals path to the result set. For rpcs argument default display is xml and for commands argument default display is text.
aliases: format, output - rpcs: The rpcs argument accepts a list of RPCs to be executed over a netconf session and the results from the RPC execution is return to the playbook via the modules results dictionary.
- display: Encoding scheme to use when serializing output from the device. This handles how to properly understand the output and apply the conditionals path to the result set. For rpcs argument default display is xml and for commands argument default display is text.
-
junos_facts - Collect facts from remote devices running Juniper Junos
- config_format: The config_format argument specifies the format of the configuration when serializing output from the device. This argument is applicable only when config value is present in gather_subset. The config_format should be supported by the junos version running on device.
- gather_subset: When supplied, this argument will restrict the facts collected to a given subset. Possible values for this argument include all, hardware, config, and interfaces. Can specify a list of values to include a larger subset. Values can also be used with an initial ! to specify that a specific subset should not be collected.
-
nxos_aaa_server - Manages AAA server global configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands. If the timeout is exceeded before the operation is completed, the module will error. NX-API can be slow to return on long-running commands (sh mac, sh bgp, etc).
-
nxos_aaa_server_host - Manages AAA server host-specific configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_acl_interface - Manages applying ACLs to interfaces.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_acl - Manages access list entries for ACLs.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_bgp - Manages BGP configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_bgp_af - Manages BGP Address-family configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_bgp_neighbor - Manages BGP neighbors configurations.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_bgp_neighbor_af - Manages BGP address-family’s neighbors configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_command - Run arbitrary command on Cisco NXOS devices
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_config - Manage Cisco NXOS configuration sections
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_evpn_global - Handles the EVPN control plane for VXLAN.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_evpn_vni - Manages Cisco EVPN VXLAN Network Identifier (VNI).
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_facts - Gets facts about NX-OS switches
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_file_copy - Copy a file to a remote NXOS device over SCP.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_feature - Manage features in NX-OS switches.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_gir - Trigger a graceful removal or insertion (GIR) of the switch.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_gir_profile_management - Create a maintenance-mode or normal-mode profile for GIR.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_hsrp - Manages HSRP configuration on NX-OS switches.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_igmp - Manages IGMP global configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_igmp_snooping - Manages IGMP snooping global configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_install_os - Set boot options like boot image and kickstart image.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_interface_ospf - Manages configuration of an OSPF interface instance.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_ip_interface - Manages L3 attributes for IPv4 and IPv6 interfaces.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_igmp_interface - Manages IGMP interface configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_mtu - Manages MTU settings on Nexus switch.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_ntp - Manages core NTP configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_interface - Manages physical attributes of interfaces.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_nxapi - Manage NXAPI configuration on an NXOS device.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_ntp_options - Manages NTP options.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_ntp_auth - Manages NTP authentication.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_overlay_global - Configures anycast gateway MAC of the switch.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_pim - Manages configuration of a PIM instance.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_ospf_vrf - Manages a VRF for an OSPF router.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_ospf - Manages configuration of an ospf instance.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_ping - Tests reachability using ping from Nexus switch.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_pim_rp_address - Manages configuration of an PIM static RP address instance.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_pim_interface - Manages PIM interface configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_portchannel - Manages port-channel interfaces.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_reboot - Reboot a network device.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_smu - Perform SMUs on Cisco NX-OS devices.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_snmp_contact - Manages SNMP contact info.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_snmp_community - Manages SNMP community configs.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_snapshot - Manage snapshots of the running states of selected features.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_snmp_location - Manages SNMP location information.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_rollback - Set a checkpoint or rollback to a checkpoint.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_snmp_host - Manages SNMP host configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_snmp_traps - Manages SNMP traps.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_snmp_user - Manages SNMP users for monitoring.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_switchport - Manages Layer 2 switchport interfaces.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_udld - Manages UDLD global configuration params.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_static_route - Manages static route configuration
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_udld_interface - Manages UDLD interface configuration params.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vlan - Manages VLAN resources and attributes.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vpc - Manages global VPC configuration
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vpc_interface - Manages interface VPC configuration
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vrf - Manages global VRF configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vrf_af - Manages VRF AF.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vrf_interface - Manages interface specific VRF configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vrrp - Manages VRRP configuration on NX-OS switches.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vtp_domain - Manages VTP domain configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vtp_password - Manages VTP password configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vxlan_vtep - Manages VXLAN Network Virtualization Endpoint (NVE).
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vxlan_vtep_vni - Creates a Virtual Network Identifier member (VNI)
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
nxos_vtp_version - Manages VTP version configuration.
- timeout: Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands.
-
openvswitch_bridge - Manage Open vSwitch bridges
- parent: Bridge parent of the fake bridge to manage
- set: Run set command after bridge configuration. This parameter is non-idempotent, play will always return changed state if present
- vlan: The VLAN id of the fake bridge to manage (must be between 0 and 4095). This parameter is required if parent parameter is set.
Notification Modules
-
mail - Send an email
- secure: If always, the connection will only send email if the connection is Encrypted. If the server doesn't accept the encrypted connection it will fail.If try, the connection will attempt to setup a secure SSL/TLS session, before trying to send.If never, the connection will not attempt to setup a secure SSL/TLS session, before sendingIf starttls, the connection will try to upgrade to a secure SSL/TLS connection, before sending. If it is unable to do so it will fail.
- timeout: Sets the Timeout in seconds for connection attempts
-
mqtt - Publish a message on an MQTT topic for the IoT
- ca_certs: The path to the Certificate Authority certificate files that are to be treated as trusted by this client. If this is the only option given then the client will operate in a similar manner to a web browser. That is to say it will require the broker to have a certificate signed by the Certificate Authorities in ca_certs and will communicate using TLS v1, but will not attempt any form of authentication. This provides basic network encryption but may not be sufficient depending on how the broker is configured.
- certfile: The path pointing to the PEM encoded client certificate. If this is not None it will be used as client information for TLS based authentication. Support for this feature is broker dependent.
- keyfile: The path pointing to the PEM encoded client private key. If this is not None it will be used as client information for TLS based authentication. Support for this feature is broker dependent.
Packaging Modules
-
apt_repository - Add and remove APT repositories
- codename: Override the distribution codename to use for PPA repositories. Should usually only be set when working with a PPA on a non-Ubuntu target (e.g. Debian or Mint)
-
dnf - Manages packages with the dnf package manager
- installroot: Specifies an alternative installroot, relative to which all packages will be installed.
-
maven_artifact - Downloads an Artifact from a Maven Repository
- timeout: Specifies a timeout in seconds for the connection attempt
-
openbsd_pkg - Manage packages on OpenBSD.
- clean: When updating or removing packages, delete the extra configuration file(s) in the old packages which are annotated with @extra in the packaging-list.
- quick: Replace or delete packages quickly; do not bother with checksums before removing normal files.
-
portage - Package manager for Gentoo
- jobs: Specifies the number of packages to build simultaneously.
- keepgoing: Continue as much as possible after an error.
- loadavg: Specifies that no new builds should be started if there areother builds running and the load average is at least LOAD
-
yum_repository - Add or remove YUM repositories
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
aliases: attr
- attributes: Attributes the file or directory should have. To get supported flags look at the man page for chattr on the target system. This string should contain the attributes in the same order as the one displayed by lsattr.
-
yum - Manages packages with the yum package manager
- installroot: Specifies an alternative installroot, relative to which all packages will be installed.
- skip_broken: Resolve depsolve problems by removing packages that are causing problems from the trans‐ action.
Source Control Modules
-
hg - Manages Mercurial (hg) repositories.
- clone: If no, do not clone the repository if it does not exist locally.
-
subversion - Deploys a subversion repository.
- checkout: If no, do not check out the repository if it does not exist locally
- update: If no, do not retrieve new revisions from the origin repository
System Modules
-
gluster_volume - Manage GlusterFS volumes
- arbiter: Arbiter count for volume
-
known_hosts - Add or remove a host from the known_hosts file
- hash_host: Hash the hostname in the known_hosts file
-
systemd - Manage services.
- no_block: Do not synchronously wait for the requested operation to finish. Enqueued job will continue without Ansible blocking on its completion.
Utilities Modules
-
include_vars - Load variables from files, dynamically within a task.
- extensions: List of file extensions to read when using dir.
-
wait_for - Waits for a condition before continuing.
- active_connection_states: The list of tcp connection states which are counted as active connections
- sleep: Number of seconds to sleep between checks, before 2.3 this was hardcoded to 1 second.
Web Infrastructure Modules
-
apache2_module - enables/disables a module of the Apache2 webserver
- ignore_configcheck: Ignore configuration checks about inconsistent module configuration. Especially for mpm_* modules.
-
jira - create and modify issues in a JIRA instance
- inwardissue: Set issue from which link will be created.
- linktype: Set type of link, when action 'link' selected.
- outwardissue: Set issue to which link will be created.
- timeout: Set timeout, in seconds, on requests to JIRA API.
Windows Modules
-
win_copy - Copies files to remote locations on windows hosts.
- content: When used instead of src, sets the contents of a file directly to the specified value. This is for simple values, for anything complex or with formatting please switch to the template module.
- force: If set to yes, the remote file will be replaced when content is different than the source.If set to no, the remote file will only be transferred if the destination does not exist.
- remote_src: If False, it will search for src at originating/master machine, if True it will go to the remote/target machine for the src.
-
win_chocolatey - Installs packages using chocolatey
- timeout: The time to allow chocolatey to finish before timing out.
aliases: execution_timeout
- timeout: The time to allow chocolatey to finish before timing out.
-
win_nssm - NSSM - the Non-Sucking Service Manager
- app_parameters_free_form: Single string of parameters to be passed to the service.Use either this or app_parameters, not both
-
win_share - Manage Windows shares
- caching_mode: Set the CachingMode for this share.
-
win_stat - returns information about a Windows file
- checksum_algorithm: Algorithm to determine checksum of file. Will throw an error if the host is unable to use specified algorithm.
-
win_template - Templates a file out to a remote server.
- block_end_string: The string marking the end of a block.
- block_start_string: The string marking the beginning of a block.
- force: the default is yes, which will replace the remote file when contents are different than the source. If no, the file will only be transferred if the destination does not exist.
- newline_sequence: Specify the newline sequence to use for templating files.
- trim_blocks: If this is set to True the first newline after a block is removed (block, not variable tag!).
- variable_end_string: The string marking the end of a print statement.
- variable_start_string: The string marking the beginning of a print statement.
-
win_service - Manages Windows services
- dependencies: A list of service dependencies to set for this particular service.This should be a list of service names and not the display name of the service.This works by dependency_action to either add/remove or set the services in this list.
- dependency_action: Used in conjunction with dependency to either add the dependencies to the existing service dependencies.Remove the dependencies to the existing dependencies.Set the dependencies to only the values in the list replacing the existing dependencies.
- description: The description to set for the service.
- desktop_interact: Whether to allow the service user to interact with the desktop.This should only be set to true when using the LocalSystem username.
- display_name: The display name to set for the service.
- force_dependent_services: If True, stopping or restarting a service with dependent services will force the dependent services to stop or restart also.If False, stopping or restarting a service with dependent services may fail.
- password: The password to set the service to start as.This and the username argument must be supplied together.If specifying LocalSystem, NetworkService or LocalService this field must be an empty string and not null.
- path: The path to the executable to set for the service.
- username: The username to set the service to start as.This and the password argument must be supplied together.
-
win_uri - Interacts with webservices.
- dest: Output the response body to a file.