Update ansible, ansible-playbook and ansible-galaxy to correspond with version 2.0.0.2

This commit is contained in:
Adam Števko 2016-04-03 23:28:25 +02:00
parent 3e81c156e7
commit 6f2744a955
3 changed files with 515 additions and 161 deletions

View File

@ -28,13 +28,14 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for ansible v1.8.4 (http://ansible.org) # Completion script for ansible v2.0.0.2 (http://ansible.org)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
# ------- # -------
# #
# * Romain Bossart (https://github.com/bosr) # * Romain Bossart (https://github.com/bosr)
# * Adam Stevko (https://github.com/xen0l)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# #
@ -120,15 +121,16 @@ __group_list ()
_modules=( _modules=(
'a10_server:(E) Manage A10 Networks AX/SoftAX/Thunder/vThunder devices' 'a10_server:Manage A10 Networks AX/SoftAX/Thunder/vThunder devices'
'a10_service_group:(E) Manage A10 Networks AX/SoftAX/Thunder/vThunder devices' 'a10_service_group:Manage A10 Networks devices service groups'
'a10_virtual_server:(E) Manage A10 Networks AX/SoftAX/Thunder/vThunder devices' 'a10_virtual_server:Manage A10 Networks devices virtual servers'
'accelerate:Enable accelerated mode on remote node' 'accelerate:Enable accelerated mode on remote node'
'acl:Sets and retrieves file ACL information.' 'acl:Sets and retrieves file ACL information.'
'add_host:add a host (and alternatively a group) to the ansible-playbook in-memory inventory' 'add_host:add a host (and alternatively a group) to the ansible-playbook in-memory inventory'
'airbrake_deployment:(E) Notify airbrake about app deployments' 'airbrake_deployment:Notify airbrake about app deployments'
'alternatives:(E) Manages alternative programs for common commands' 'alternatives:Manages alternative programs for common commands'
'apache2_module:enables/disables a module of the Apache2 webserver' 'apache2_module:enables/disables a module of the Apache2 webserver'
'apk:Manages apk packages'
'apt:Manages apt-packages' 'apt:Manages apt-packages'
'apt_key:Add or remove an apt key' 'apt_key:Add or remove an apt key'
'apt_repository:Add and remove APT repositories' 'apt_repository:Add and remove APT repositories'
@ -136,165 +138,334 @@ _modules=(
'assemble:Assembles a configuration file from fragments' 'assemble:Assembles a configuration file from fragments'
'assert:Fail with custom message' 'assert:Fail with custom message'
'async_status:Obtain status of asynchronous task' 'async_status:Obtain status of asynchronous task'
'at:(E) Schedule the execution of a command or script file via the at command.' 'at:Schedule the execution of a command or script file via the at command.'
'authorized_key:Adds or removes an SSH authorized key' 'authorized_key:Adds or removes an SSH authorized key'
'azure:create or terminate a virtual machine in azure' 'azure:create or terminate a virtual machine in azure'
'bigip_facts:(E) Collect facts from F5 BIG-IP devices' 'bigip_facts:Collect facts from F5 BIG-IP devices'
'bigip_monitor_http:(E) Manages F5 BIG-IP LTM http monitors' 'bigip_gtm_wide_ip:Manages F5 BIG-IP GTM wide ip'
'bigip_monitor_tcp:(E) Manages F5 BIG-IP LTM tcp monitors' 'bigip_monitor_http:Manages F5 BIG-IP LTM http monitors'
'bigip_node:(E) Manages F5 BIG-IP LTM nodes' 'bigip_monitor_tcp:Manages F5 BIG-IP LTM tcp monitors'
'bigip_pool:(E) Manages F5 BIG-IP LTM pools' 'bigip_node:Manages F5 BIG-IP LTM nodes'
'bigip_pool_member:(E) Manages F5 BIG-IP LTM pool members' 'bigip_pool:Manages F5 BIG-IP LTM pools'
'bigpanda:(E) Notify BigPanda about deployments' 'bigip_pool_member:Manages F5 BIG-IP LTM pool members'
'boundary_meter:(E) Manage boundary meters' 'bigip_virtual_server:Manages F5 BIG-IP LTM virtual servers'
'bower:(E) Manage bower packages with bower' 'bigpanda:Notify BigPanda about deployments'
'bzr:(E) Deploy software (or files) from bzr branches' 'blockinfile:Insert/update/remove a text block surrounded by marker lines.'
'campfire:(E) Send a message to Campfire' 'boundary_meter:Manage boundary meters'
'capabilities:(E) Manage Linux capabilities' 'bower:Manage bower packages with bower'
'cloudformation:create a AWS CloudFormation stack' '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'
'circonus_annotation:create an annotation in circonus'
'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 Cumulus Linux license'
'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'
'cloudtrail:manage CloudTrail creation and deletion'
'command:Executes a command on a remote node' 'command:Executes a command on a remote node'
'composer:(E) Dependency Manager for PHP' '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.' 'copy:Copies files to remote locations.'
'cpanm:(E) Manages Perl library dependencies.' 'cpanm:Manages Perl library dependencies.'
'cron:Manage cron.d and crontab entries.' 'cron:Manage cron.d and crontab entries.'
'crypttab:(E) Encrypted Linux block devices' 'cronvar:Manage variables in crontabs'
'datadog_event:(E) Posts events to DataDog service' 'crypttab:Encrypted Linux block devices'
'debconf:(E) Configure a .deb package' '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_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 clouds.'
'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_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_resourcelimit:Manages resource limits 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_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_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' 'debug:Print statements during execution'
'deploy_helper:Manages some of the steps common in deploying projects.'
'digital_ocean:Create/delete a droplet/SSH_key in DigitalOcean' 'digital_ocean:Create/delete a droplet/SSH_key in DigitalOcean'
'digital_ocean_domain:Create/delete a DNS record in DigitalOcean' 'digital_ocean_domain:Create/delete a DNS record in DigitalOcean'
'digital_ocean_sshkey:Create/delete an SSH key in DigitalOcean' 'digital_ocean_sshkey:Create/delete an SSH key in DigitalOcean'
'django_manage:Manages a Django application.' 'django_manage:Manages a Django application.'
'dnf:(E) Manages packages with the I(dnf) package manager' 'dnf:Manages packages with the *dnf* package manager'
'dnsimple:(E) Interface with dnsimple.com (a DNS hosting service).' 'dnsimple:Interface with dnsimple.com (a DNS hosting service).'
'dnsmadeeasy:(E) Interface with dnsmadeeasy.com (a DNS hosting service).' 'dnsmadeeasy:Interface with dnsmadeeasy.com (a DNS hosting service).'
'docker:manage docker containers' 'docker:manage docker containers'
'docker_image (D):manage docker images' 'docker_image:manage docker images'
'docker_login:Manage Docker registry logins'
'dpkg_selections:Dpkg package selection selections'
'dynamodb_table:Create, update or delete AWS Dynamo DB tables.'
'easy_install:Installs Python libraries' 'easy_install:Installs Python libraries'
'ec2:create, terminate, start or stop an instance in ec2' 'ec2:create, terminate, start or stop an instance in ec2'
'ec2_ami:create or destroy an image in ec2' 'ec2_ami:create or destroy an image in ec2'
'ec2_ami_search:Retrieve AWS AMI information for a given operating system.' '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(D):Retrieve AWS AMI information for a given operating system.'
'ec2_asg:Create or delete AWS Autoscaling Groups' 'ec2_asg:Create or delete AWS Autoscaling Groups'
'ec2_eip:associate an EC2 elastic IP with an instance.' 'ec2_eip:associate an EC2 elastic IP with an instance.'
'ec2_elb:De-registers or registers instances from EC2 ELBs' '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_elb_lb:Creates or destroys Amazon ELB.'
'ec2_eni:Create and optionally attach an Elastic Network Interface (ENI) to an instance'
'ec2_eni_facts:Gather facts about ec2 ENI interfaces in AWS'
'ec2_facts:Gathers facts about remote hosts within ec2 (aws)' 'ec2_facts:Gathers facts about remote hosts within ec2 (aws)'
'ec2_group:maintain an ec2 VPC security group.' 'ec2_group:maintain an ec2 VPC security group.'
'ec2_key:maintain an ec2 key pair.' 'ec2_key:maintain an ec2 key pair.'
'ec2_lc:Create or delete AWS Autoscaling Launch Configurations' 'ec2_lc:Create or delete AWS Autoscaling Launch Configurations'
'ec2_metric_alarm:Create/update or delete AWS Cloudwatch metric alarms' '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_scaling_policy:Create or delete AWS scaling policies for Autoscaling groups'
'ec2_snapshot:creates a snapshot from an existing volume' 'ec2_snapshot:creates a snapshot from an existing volume'
'ec2_tag:create and remove tag(s) to ec2 resources.' '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: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:configure AWS virtual private clouds'
'ejabberd_user:(E) Manages users for ejabberd servers' 'ec2_vpc_dhcp_options:Manages DHCP Options, and can ensure the DHCP options for the given VPC match whats requested'
'ec2_vpc_igw:Manage an AWS VPC Internet gateway'
'ec2_vpc_net:Configure AWS virtual private clouds'
'ec2_vpc_net_facts:Gather facts about ec2 VPCs in AWS'
'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_win_password:gets the default administrator password for ec2 windows instances'
'ecs_cluster:create or terminate ecs clusters'
'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'
'ejabberd_user:Manages users for ejabberd servers'
'elasticache:Manage cache clusters in Amazon Elasticache.' 'elasticache:Manage cache clusters in Amazon Elasticache.'
'facter:(E) Runs the discovery program I(facter) on the remote system' 'elasticache_subnet_group:manage Elasticache subnet groups'
'elasticsearch_plugin:Manage Elasticsearch plugins'
'eos_command:Run arbitrary command on EOS device'
'eos_config:Manage Arista EOS configuration sections'
'eos_eapi:Manage and configure EAPI. Requires EOS v4.12 or greater.'
'eos_template:Manage Arista EOS device configurations'
'expect:Executes a command and responds to prompts'
'facter:Runs the discovery program *facter* on the remote system'
'fail:Fail with custom message' 'fail:Fail with custom message'
'fetch:Fetches a file from remote nodes' 'fetch:Fetches a file from remote nodes'
'file:Sets attributes of files' 'file:Sets attributes of files'
'filesystem:(E) Makes file system on block device' 'filesystem:Makes file system on block device'
'fireball:Enable fireball mode on remote node' 'find:return a list of files based on specific criteria'
'firewalld:(E) Manage arbitrary ports/services with firewalld' 'fireball(D):Enable fireball mode on remote node'
'flowdock:(E) Send a message to a flowdock' 'firewalld:Manage arbitrary ports/services with firewalld'
'flowdock:Send a message to a flowdock'
'gc_storage:This module manages objects/buckets in Google Cloud Storage.' 'gc_storage:This module manages objects/buckets in Google Cloud Storage.'
'gce:create or terminate GCE instances' 'gce:create or terminate GCE instances'
'gce_img:(E) utilize GCE image resources' 'gce_img:utilize GCE image resources'
'gce_lb:create/destroy GCE load-balancer resources' 'gce_lb:create/destroy GCE load-balancer resources'
'gce_net:create/destroy GCE networks and firewall rules' 'gce_net:create/destroy GCE networks and firewall rules'
'gce_pd:utilize GCE persistent disk resources' 'gce_pd:utilize GCE persistent disk resources'
'gce_tag:add or remove tag(s) to/from GCE instance'
'gem:Manage Ruby gems' 'gem:Manage Ruby gems'
'get_url:Downloads files from HTTP, HTTPS, or FTP to node' 'get_url:Downloads files from HTTP, HTTPS, or FTP to node'
'getent:(E) a wrapper to the unix getent utility' 'getent:a wrapper to the unix getent utility'
'git:Deploy software (or files) from git checkouts' 'git:Deploy software (or files) from git checkouts'
'github_hooks:(E) Manages github service hooks.' 'github_hooks:Manages github service hooks.'
'glance_image:Add/Delete images from glance' 'glance_image(D):Add/Delete images from glance'
'gluster_volume:(E) Manage GlusterFS volumes' 'gluster_volume:Manage GlusterFS volumes'
'group:Add or remove groups' 'group:Add or remove groups'
'group_by:Create Ansible groups based on facts' 'group_by:Create Ansible groups based on facts'
'grove:(E) Sends a notification to a grove.io channel' 'grove:Sends a notification to a grove.io channel'
'haproxy:(E) An Ansible module to handle states enable/disable server and set weight to backend host in haproxy using socket commands.' 'hall:Send notification to Hall'
'haproxy:Enable, disable, and set weights for HAProxy backend servers using socket commands.'
'hg:Manages Mercurial (hg) repositories.' 'hg:Manages Mercurial (hg) repositories.'
'hipchat:(E) Send a message to hipchat' 'hipchat:Send a message to hipchat.'
'homebrew:(E) Package manager for Homebrew' 'homebrew:Package manager for Homebrew'
'homebrew_cask:(E) Install/uninstall homebrew casks.' 'homebrew_cask:Install/uninstall homebrew casks.'
'homebrew_tap:(E) Tap a Homebrew repository.' 'homebrew_tap:Tap a Homebrew repository.'
'hostname:Manage hostname' 'hostname:Manage hostname'
'htpasswd:manage user files for basic authentication' '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_policy:Manage IAM policies for users, groups, and roles'
'include_vars:Load variables from files, dynamically within a task.' 'include_vars:Load variables from files, dynamically within a task.'
'ini_file:Tweak settings in INI files' 'ini_file:Tweak settings in INI files'
'irc:(E) Send a message to an IRC channel' 'ios_command:Run arbitrary commands on ios devices.'
'jabber:(E) Send a message to jabber user or chat room' 'ios_config:Manage Cisco IOS configuration sections'
'jboss:(E) deploy applications to JBoss' 'ios_template:Manage Cisco IOS device configurations over SSH'
'jira:(E) create and modify issues in a JIRA instance' 'iosxr_command:Run arbitrary commands on ios devices.'
'kernel_blacklist:(E) Blacklist kernel modules' 'iosxr_config:Manage Cisco IOS XR configuration sections'
'keystone_user:Manage OpenStack Identity (keystone) users, tenants and roles' 'iosxr_template:Manage Cisco IOS device configurations over SSH'
'layman:(E) Manage Gentoo overlays' 'ipify_facts:Retrieve the public IP of your internet gateway.'
'librato_annotation:(E) create an annotation in librato' 'iptables:Modify the systems iptables'
'irc:Send a message to an IRC channel'
'jabber:Send a message to jabber user or chat room'
'jboss:deploy applications to JBoss'
'jira:create and modify issues in a JIRA instance'
'junos_command:Execute arbitrary commands on Juniper JUNOS devices'
'junos_config:Manage Juniper JUNOS configuration sections'
'junos_template:Manage Juniper JUNOS device configurations'
'kernel_blacklist:Blacklist kernel modules'
'keystone_user(D):Manage OpenStack Identity (keystone) users, tenants and roles'
'known_hosts:Add or remove a host from the ``known_hosts`` file'
'layman:Manage Gentoo overlays'
'librato_annotation:create an annotation in librato'
'lineinfile:Ensure a particular line is in a file, or replace an existing line using a back-referenced regular expression.' 'lineinfile:Ensure a particular line is in a file, or replace an existing line using a back-referenced regular expression.'
'linode:create / delete / stop / restart an instance in Linode Public Cloud' 'linode:create / delete / stop / restart an instance in Linode Public Cloud'
'lldp:(E) get details reported by lldp' 'lldp:get details reported by lldp'
'locale_gen:(E) Creates or removes locales.' 'locale_gen:Creates or removes locales.'
'logentries:(E) Module for tracking logs via logentries.com' 'logentries:Module for tracking logs via logentries.com'
'lvg:(E) Configure LVM volume groups' 'lvg:Configure LVM volume groups'
'lvol:(E) Configure LVM logical volumes' 'lvol:Configure LVM logical volumes'
'macports:(E) Package manager for MacPorts' 'lxc_container:Manage LXC Containers'
'mail:(E) Send an email' 'macports:Package manager for MacPorts'
'modprobe:(E) Add or remove kernel modules' 'mail:Send an email'
'mongodb_user:(E) Adds or removes a user from a MongoDB database.' 'maven_artifact:Downloads an Artifact from a Maven Repository'
'monit:(E) Manage the state of a program monitored via Monit' 'modprobe:Add or remove kernel modules'
'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' 'mount:Control active and configured mount points'
'mqtt:(E) Publish a message on an MQTT topic for the IoT' 'mqtt:Publish a message on an MQTT topic for the IoT'
'mysql_db:Add or remove MySQL databases from a remote host.' 'mysql_db:Add or remove MySQL databases from a remote host.'
'mysql_replication:(E) Manage MySQL replication' 'mysql_replication:Manage MySQL replication'
'mysql_user:Adds or removes a user from a MySQL database.' 'mysql_user:Adds or removes a user from a MySQL database.'
'mysql_variables:Manage MySQL global variables' 'mysql_variables:Manage MySQL global variables'
'nagios:(E) Perform common tasks in Nagios related to downtime and notifications.' 'nagios:Perform common tasks in Nagios related to downtime and notifications.'
'netscaler:(E) Manages Citrix NetScaler entities' 'netscaler:Manages Citrix NetScaler entities'
'newrelic_deployment:(E) Notify newrelic about app deployments' 'newrelic_deployment:Notify newrelic about app deployments'
'nexmo:(E) Send a SMS via nexmo' 'nexmo:Send a SMS via nexmo'
'nova_compute:Create/Delete VMs from OpenStack' 'nmcli:Manage Networking'
'nova_keypair:Add/Delete key pair from nova' 'nova_compute(D):Create/Delete VMs from OpenStack'
'npm:(E) Manage node.js packages with npm' 'nova_keypair(D):Add/Delete key pair from nova'
'ohai:(E) Returns inventory data from I(Ohai)' 'npm:Manage node.js packages with npm'
'open_iscsi:(E) Manage iscsi targets with open-iscsi' 'nxos_command:Run arbitrary command on Cisco NXOS devices'
'openbsd_pkg:(E) Manage packages on OpenBSD.' 'nxos_config:Manage Cisco NXOS configuration sections'
'openvswitch_bridge:(E) Manage Open vSwitch bridges' 'nxos_nxapi:Manage NXAPI configuration on an NXOS device.'
'openvswitch_port:(E) Manage Open vSwitch ports' 'nxos_template:Manage Cisco NXOS device configurations'
'opkg:(E) Package manager for OpenWrt' 'ohai:Returns inventory data from *Ohai*'
'osx_say:(E) Makes an OSX computer to speak.' 'open_iscsi:Manage iscsi targets with open-iscsi'
'ovirt:(E) oVirt/RHEV platform management' 'openbsd_pkg:Manage packages on OpenBSD.'
'pacman:(E) Manage packages with I(pacman)' 'openvswitch_bridge:Manage Open vSwitch bridges'
'pagerduty:(E) Create PagerDuty maintenance windows' 'openvswitch_db:Configure open vswitch database.'
'patch:(E) Apply patch files using the GNU patch tool.' 'openvswitch_port:Manage Open vSwitch ports'
'opkg:Package manager for OpenWrt'
'ops_command:Run arbitrary commands on OpenSwitch devices.'
'ops_config:Manage OpenSwitch configuration using CLI'
'ops_template:Push configuration to OpenSwitch'
'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_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_role:Manage OpenStack Identity Roles'
'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_object:Create or Delete objects and containers from OpenStack'
'os_port:Add/Update/Delete ports from an OpenStack cloud.'
'os_project:Manage OpenStack Projects'
'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_volume:Attach/Detach Volumes from OpenStack VMs'
'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_group:Associate OpenStack Identity users and groups'
'os_volume:Create/Delete Cinder Volumes'
'osx_defaults:osx_defaults allows users to read, write, and delete Mac OS X user defaults from Ansible'
'osx_say:Makes an OSX computer to speak.'
'ovirt:oVirt/RHEV platform management'
'package:Generic OS package manager'
'pacman:Manage packages with *pacman*'
'pagerduty:Create PagerDuty maintenance windows'
'pagerduty_alert:Trigger, acknowledge or resolve PagerDuty incidents'
'pam_limits:Modify Linux PAM limits'
'patch:Apply patch files using the GNU patch tool.'
'pause:Pause playbook execution' 'pause:Pause playbook execution'
'ping:Try to connect to host and return C(pong) on success.' 'pear:Manage pear/pecl packages'
'pingdom:(E) Pause/unpause Pingdom alerts' '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.' 'pip:Manages Python library dependencies.'
'pkg5:(E) Manages packages with the Solaris 11 Image Packaging System' 'pkg5:Manages packages with the Solaris 11 Image Packaging System'
'pkg5_publisher:(E) Manages Solaris 11 Image Packaging System publishers' 'pkg5_publisher:Manages Solaris 11 Image Packaging System publishers'
'pkgin:(E) Package manager for SmartOS' 'pkgin:Package manager for SmartOS, NetBSD, et al.'
'pkgng:(E) Package manager for FreeBSD >= 9.0' 'pkgng:Package manager for FreeBSD >= 9.0'
'pkgutil:(E) Manage CSW-Packages on Solaris' 'pkgutil:Manage CSW-Packages on Solaris'
'portage:(E) Package manager for Gentoo' 'portage:Package manager for Gentoo'
'portinstall:(E) Installing packages from FreeBSDs ports system' 'portinstall:Installing packages from FreeBSDs ports system'
'postgresql_db:Add or remove PostgreSQL databases from a remote host.' 'postgresql_db:Add or remove PostgreSQL databases from a remote host.'
'postgresql_lang:(E) Adds, removes or changes procedural languages with a PostgreSQL database.' '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_privs:Grant or revoke privileges on PostgreSQL database objects.'
'postgresql_user:Adds or removes a users (roles) from a PostgreSQL database.' 'postgresql_user:Adds or removes a users (roles) from a PostgreSQL database.'
'quantum_floating_ip:Add/Remove floating IP from an instance' 'profitbricks:Create, destroy, start, stop, and reboot a ProfitBricks virtual machine.'
'quantum_floating_ip_associate:Associate or disassociate a particular floating IP with an instance' 'profitbricks_datacenter:Create or destroy a ProfitBricks Virtual Datacenter.'
'quantum_network:Creates/Removes networks from OpenStack' 'profitbricks_nic:Create or Remove a NIC.'
'quantum_router:Create or Remove router from openstack' 'profitbricks_volume:Create or destroy a volume.'
'quantum_router_gateway:set/unset a gateway interface for the router with the specified external network' 'profitbricks_volume_attachments:Attach or detach a volume.'
'quantum_router_interface:Attach/Dettach a subnets interface to a router' 'proxmox:management of instances in Proxmox VE cluster'
'quantum_subnet:Add/remove subnet from a network' 'proxmox_template:management of OS templates in Proxmox VE cluster'
'rabbitmq_parameter:(E) Adds or removes parameters to RabbitMQ' 'puppet:Runs puppet'
'rabbitmq_plugin:(E) Adds or removes plugins to RabbitMQ' 'pushbullet:Sends notifications to Pushbullet'
'rabbitmq_policy:(E) Manage the state of policies in RabbitMQ.' 'pushover:Send notifications via https'
'rabbitmq_user:(E) Adds or removes users to RabbitMQ' 'quantum_floating_ip(D):Add/Remove floating IP from an instance'
'rabbitmq_vhost:(E) Manage the state of a virtual host in RabbitMQ' 'quantum_floating_ip_associate(D):Associate or disassociate a particular floating IP with an instance'
'quantum_network(D):Creates/Removes networks from OpenStack'
'quantum_router(D):Create or Remove router from openstack'
'quantum_router_gateway(D):set/unset a gateway interface for the router with the specified external network'
'quantum_router_interface(D):Attach/Dettach a subnets interface to a router'
'quantum_subnet(D):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' 'raw:Executes a low-down and dirty SSH command'
'rax:create / delete an instance in Rackspace Public Cloud' 'rax:create / delete an instance in Rackspace Public Cloud'
'rax_cbs:Manipulate Rackspace Cloud Block Storage Volumes' 'rax_cbs:Manipulate Rackspace Cloud Block Storage Volumes'
@ -304,6 +475,7 @@ _modules=(
'rax_cdb_user:create / delete a Rackspace Cloud Database' 'rax_cdb_user:create / delete a Rackspace Cloud Database'
'rax_clb:create / delete a load balancer in Rackspace Public Cloud' '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_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:Manage domains on Rackspace Cloud DNS'
'rax_dns_record:Manage DNS records on Rackspace Cloud DNS' 'rax_dns_record:Manage DNS records on Rackspace Cloud DNS'
'rax_facts:Gather facts for Rackspace Cloud Servers' 'rax_facts:Gather facts for Rackspace Cloud Servers'
@ -312,6 +484,11 @@ _modules=(
'rax_identity:Load Rackspace Cloud Identity' 'rax_identity:Load Rackspace Cloud Identity'
'rax_keypair:Create a keypair for use with Rackspace Cloud Servers' 'rax_keypair:Create a keypair for use with Rackspace Cloud Servers'
'rax_meta:Manipulate metadata for 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_network:create / delete an isolated network in Rackspace Public Cloud'
'rax_queue:create / delete a queue in Rackspace Public Cloud' 'rax_queue:create / delete a queue in Rackspace Public Cloud'
'rax_scaling_group:Manipulate Rackspace Cloud Autoscale Groups' 'rax_scaling_group:Manipulate Rackspace Cloud Autoscale Groups'
@ -319,65 +496,144 @@ _modules=(
'rds:create, delete, or modify an Amazon rds instance' 'rds:create, delete, or modify an Amazon rds instance'
'rds_param_group:manage RDS parameter groups' 'rds_param_group:manage RDS parameter groups'
'rds_subnet_group:manage RDS database subnet groups' 'rds_subnet_group:manage RDS database subnet groups'
'redhat_subscription:Manage Red Hat Network registration and subscriptions using the C(subscription-manager) command' 'redhat_subscription:Manage Red Hat Network registration and subscriptions using the ``subscription-manager`` command'
'redis:(E) Various redis commands, slave and flush' 'redis:Various redis commands, slave and flush'
'replace:Replace all instances of a particular string in a file using a back-referenced regular expression.' 'replace:Replace all instances of a particular string in a file using a back-referenced regular expression.'
'rhn_channel:Adds or removes Red Hat software channels' 'rhn_channel:Adds or removes Red Hat software channels'
'rhn_register:Manage Red Hat Network registration using the C(rhnreg_ks) command' 'rhn_register:Manage Red Hat Network registration using the ``rhnreg_ks`` command'
'riak:(E) This module handles some common Riak operations' 'riak:This module handles some common Riak operations'
'rollbar_deployment:(E) Notify Rollbar about app deployments' 'rollbar_deployment:Notify Rollbar about app deployments'
'route53:add or delete entries in Amazons Route53 DNS service' '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' 'rpm_key:Adds or removes a gpg key from the rpm db'
's3:S3 module putting a file into S3.' 's3:manage objects in S3.'
's3_bucket:Manage s3 buckets in AWS'
's3_lifecycle:Manage s3 bucket lifecycle rules in AWS'
's3_logging:Manage logging facility of an s3 bucket in AWS'
'script:Runs a local script on a remote node after transferring it' 'script:Runs a local script on a remote node after transferring it'
'seboolean:Toggles SELinux booleans.' 'seboolean:Toggles SELinux booleans.'
'selinux:Change policy and state of SELinux' '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'
'seport:Manages SELinux network port type definitions'
'service:Manage services.' 'service:Manage services.'
'set_fact:Set host facts from a task' 'set_fact:Set host facts from a task'
'setup:Gathers facts about remote hosts' 'setup:Gathers facts about remote hosts'
'shell:Execute commands in nodes.' 'shell:Execute commands in nodes.'
'slack:(E) Send Slack notifications' 'slack:Send Slack notifications'
'slackpkg:Package manager for Slackware >= 12.2'
'slurp:Slurps a file from remote nodes' 'slurp:Slurps a file from remote nodes'
'snmp_facts:(E) Retrieve facts for a device using SNMP.' 'snmp_facts:Retrieve facts for a device using SNMP.'
'sns:(E) Send Amazon Simple Notification Service (SNS) messages' 'sns:Send Amazon Simple Notification Service (SNS) messages'
'stackdriver:(E) Send code deploy and annotation events to stackdriver' 'sns_topic:Manages AWS SNS topics and subscriptions'
'solaris_zone:Manage Solaris zones'
'sqs_queue:Creates or deletes AWS SQS queues.'
'stackdriver:Send code deploy and annotation events to stackdriver'
'stat:retrieve file or file system status' 'stat:retrieve file or file system status'
'sts_assume_role:Assume a role using AWS Security Token Service and obtain temporary credentials'
'subversion:Deploys a subversion repository.' 'subversion:Deploys a subversion repository.'
'supervisorctl:Manage the state of a program or group of programs running via supervisord' 'supervisorctl:Manage the state of a program or group of programs running via supervisord'
'svc:(E) Manage daemontools services.' 'svc:Manage daemontools services.'
'svr4pkg:(E) Manage Solaris SVR4 packages' 'svr4pkg:Manage Solaris SVR4 packages'
'swdepot:(E) Manage packages with swdepot package manager (HP-UX)' 'swdepot:Manage packages with swdepot package manager (HP-UX)'
'synchronize:Uses rsync to make synchronizing file paths in your playbooks quick and easy.' 'synchronize:Uses rsync to make synchronizing file paths in your playbooks quick and easy.'
'sysctl:Manage entries in sysctl.conf.' 'sysctl:Manage entries in sysctl.conf.'
'taiga_issue:Creates/deletes an issue in a Taiga Project Management Platform'
'template:Templates a file out to a remote server.' 'template:Templates a file out to a remote server.'
'twilio:(E) Sends a text message to a mobile phone through Twilio.' 'twilio:Sends a text message to a mobile phone through Twilio.'
'typetalk:(E) Send a message to typetalk' 'typetalk:Send a message to typetalk'
'ufw:(E) Manage firewall with UFW' 'ufw:Manage firewall with UFW'
'unarchive:Copies an archive to a remote location and unpack it' 'unarchive:Unpacks an archive after (optionally) copying it from the local machine.'
'uptimerobot:(E) Pause and start Uptime Robot monitoring' 'uptimerobot:Pause and start Uptime Robot monitoring'
'uri:Interacts with webservices' 'uri:Interacts with webservices'
'urpmi:(E) Urpmi manager' 'urpmi:Urpmi manager'
'user:Manage user accounts' 'user:Manage user accounts'
'virt:(E) Manages virtual machines supported by libvirt' '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'
'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_host:Add/remove ESXi host to/from vCenter'
'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_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.' 'vsphere_guest:Create/delete/manage a guest VM through VMware vSphere.'
'wait_for:Waits for a condition before continuing.' 'wait_for:Waits for a condition before continuing.'
'win_chocolatey:(E) Installs packages using chocolatey' '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_chocolatey:Installs packages using chocolatey'
'win_copy:Copies files to remote locations on windows hosts.'
'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' 'win_feature:Installs and uninstalls Windows Features'
'win_file:Creates, touches or removes files or directories.'
'win_file_version:Get DLL or EXE file build version'
'win_firewall_rule:Windows firewall automation'
'win_get_url:Fetches a file from a given URL' 'win_get_url:Fetches a file from a given URL'
'win_group:Add and remove local groups' 'win_group:Add and remove local groups'
'win_iis_virtualdirectory:Configures a virtual directory in IIS.'
'win_iis_webapplication:Configures a IIS Web application.'
'win_iis_webapppool:Configures a 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 back-referenced regular expression.'
'win_msi:Installs and uninstalls Windows MSI files' 'win_msi:Installs and uninstalls Windows MSI files'
'win_nssm:NSSM '
'win_package:Installs/Uninstalls a installable package, either from local file system or url'
'win_ping:A windows version of the classic ping module.' 'win_ping:A windows version of the classic ping module.'
'win_regedit:Add, Edit, or Remove Registry Keys and Values'
'win_regmerge:Merges the contents of a registry file into the windows registry'
'win_scheduled_task:Manage scheduled tasks'
'win_service:Manages Windows services' 'win_service:Manages Windows services'
'win_share:Manage Windows shares'
'win_stat:returns information about a Windows file' 'win_stat:returns information about a Windows file'
'win_updates:(E) Lists / Installs windows updates' '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_user:Manages local Windows user accounts'
'win_webpicmd:Installs packages using Web Platform Installer command-line'
'xattr:set/retrieve extended attributes' 'xattr:set/retrieve extended attributes'
'yum:Manages packages with the I(yum) package manager' 'xenserver_facts:get facts reported on xenserver'
'zabbix_group:(E) Add or remove a host group to Zabbix.' 'yum:Manages packages with the *yum* package manager'
'zabbix_maintenance:(E) Create Zabbix maintenance windows' 'yum_repository:Add and remove YUM repositories'
'zfs:(E) Manage zfs' 'zabbix_group:Zabbix host groups creates/deletes'
'zypper:(E) Manage packages on SUSE and openSUSE' 'zabbix_host:Zabbix host creates/updates/deletes'
'zypper_repository:(E) Add and remove Zypper repositories' 'zabbix_hostmacro:Zabbix host macro creates/updates/deletes'
'zabbix_maintenance:Create Zabbix maintenance windows'
'zabbix_screen:Zabbix screen creates/updates/deletes'
'zfs:Manage zfs'
'znode:Create, delete, retrieve, and update znodes using ZooKeeper.'
'zypper:Manage packages on SUSE and openSUSE'
'zypper_repository:Add and remove Zypper repositories'
) )
@ -389,13 +645,19 @@ _ansible ()
_arguments -C -W \ _arguments -C -W \
'1:pattern:->pattern'\ '1:pattern:->pattern'\
"(-a --args)"{-a,--args}"[ARGS module arguments]:arguments:(ARG)"\ "(-a --args)"{-a,--args}"[ARGS module arguments]:arguments:(ARG)"\
"(-k --ask-pass)"{-k,--ask-pass}"[ask for SSH password]"\ '--ask-become-pass[ask for privilege escalation password]'\
'--ask-su-pass[ask for su password]'\ "(-k --ask-pass)"{-k,--ask-pass}"[ask for connection password]"\
"(-K --ask-sudo-pass)"{-K,--ask-sudo-pass}"[ask for sudo password]"\ '--ask-su-pass[ask for su password (deprecated, use become)]'\
"(-K --ask-sudo-pass)"{-K,--ask-sudo-pass}"[ask for sudo password (deprecated, use become)]"\
'--ask-vault-pass[ask for vault password]'\ '--ask-vault-pass[ask for vault password]'\
"(-B --background)"{-B,--background}"[DURATION run asynchronously for DURATION (s)]:duration:(DURATION)"\ "(-B --background)"{-B,--background}"[DURATION run asynchronously for DURATION (s)]:duration:(DURATION)"\
"(-b --become)"{-b,--become}"[run operations with become (nopasswd implied)]"\
'--become-method[privilege escalation method to use (default=sudo)]:method:(sudo su pbrun pfexec runas doas)'\
'--become-user[run operations as this user (default=root)]:user:(USER)'\
"(-C --check)"{-C,--check}"[don't make any changes]"\ "(-C --check)"{-C,--check}"[don't make any changes]"\
"(-c --connection)"{-c,--connection}"[CONNECTION connection type to use (default=smart)]:connection type:(smart ssh local chroot)"\ "(-c --connection)"{-c,--connection}"[CONNECTION connection type to use (default=smart)]:connection type:(smart ssh local chroot)"\
"(-D --diff)"{-D,--diff}"[show differences when changing (small) files and templates]"\
"(-e --extra-vars)"{-e,--extra-vars}"[set additional variables as key=value or YAML/JSON]"\
"(-f --forks)"{-f,--forks}"[FORKS number of parallel processes to use (default=5)]:forks:(5)"\ "(-f --forks)"{-f,--forks}"[FORKS number of parallel processes to use (default=5)]:forks:(5)"\
"(-h --help)"{-h,--help}"[help message]"\ "(-h --help)"{-h,--help}"[help message]"\
"(-i --inventory-file)"{-i,--inventory-file}"[INVENTORY specify inventory host file]:inventory file:_files"\ "(-i --inventory-file)"{-i,--inventory-file}"[INVENTORY specify inventory host file]:inventory file:_files"\
@ -403,13 +665,20 @@ _ansible ()
'--list-hosts[outputs a list of matching hosts. Does not execute anything else]'\ '--list-hosts[outputs a list of matching hosts. Does not execute anything else]'\
"(-m --module-name)"{-m,--module-name}"[MODULE_NAME module name (default=command)]:module name:->module"\ "(-m --module-name)"{-m,--module-name}"[MODULE_NAME module name (default=command)]:module name:->module"\
"(-M --module-path)"{-M,--module-path}"[MODULE_PATH specify path to module library (default=None)]:module path:_files -/"\ "(-M --module-path)"{-M,--module-path}"[MODULE_PATH specify path to module library (default=None)]:module path:_files -/"\
'--new-vault-password-file[new vault password file for rekey]:new vault password file:_files'\
"(-o --one-line)"{-o,--one-line}"[condense output]"\ "(-o --one-line)"{-o,--one-line}"[condense output]"\
'--output[output file name for encrypt or decrypt; use - for stdout]:output file:_files'\
"(-P --poll)"{-P,--poll}"[POLL_INTERVAL set the poll interval (s) if using -B (default=15)]:poll interval:(15)"\ "(-P --poll)"{-P,--poll}"[POLL_INTERVAL set the poll interval (s) if using -B (default=15)]:poll interval:(15)"\
"--private-key[PRIVATE_KEY_FILE use this file to authenticate the connection]:private key file:_files"\ '--private-key[PRIVATE_KEY_FILE use this file to authenticate the connection]:private key file:_files'\
"(-S --su)"{-S,--su}"[run operations with su]"\ '--scp-extra-args[specify extra arguments to pass to scp only]'\
"(-R --su-user)"{-R,--su-user}"[SU_USER run operations with su as this user (default=root)]:su user:(root)"\ '--sftp-extra-args[specify extra arguments to pass to sftp only]'\
"(-s --sudo)"{-s,--sudo}"[run operations with sudo (nopasswd)]"\ '--ssh-common-args[specify common arguments to pass to sftp/scp/ssh]'\
"(-U --sudo-user)"{-U,--sudo-user}"[SUDO_USER desired sudo user (default=root)]:su user:(root)"\ '--ssh-extra-args[specify extra arguments to pass to ssh only]'\
"(-S --su)"{-S,--su}"[run operations with su (deprecated, use become)]"\
"(-R --su-user)"{-R,--su-user}"[SU_USER run operations with su as this user (default=root) (deprecated, use become)]:su user:(root)"\
"(-s --sudo)"{-s,--sudo}"[run operations with sudo (nopasswd) (deprecated, use become)]"\
"(-U --sudo-user)"{-U,--sudo-user}"[SUDO_USER desired sudo user (default=root) (deprecated, use become)]:su user:(root)"\
'--syntax-check[perform a syntax check on the playbook, but do not execute it]'\
"(-T --timeout)"{-T,--timeout}"[TIMEOUT override the SSH timeout (s) (default=10)]:ssh timeout:(10)"\ "(-T --timeout)"{-T,--timeout}"[TIMEOUT override the SSH timeout (s) (default=10)]:ssh timeout:(10)"\
"(-t --tree)"{-t,--tree}"[OUTPUT_DIRECTORY log output to this directory]:output directory:_files -/"\ "(-t --tree)"{-t,--tree}"[OUTPUT_DIRECTORY log output to this directory]:output directory:_files -/"\
"(-u --user)"{-u,--user}"[REMOTE_USER connect as this user (default=${USER})]:connect as user:(${USER})"\ "(-u --user)"{-u,--user}"[REMOTE_USER connect as this user (default=${USER})]:connect as user:(${USER})"\

View File

@ -28,13 +28,14 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for ansible-galaxy v1.8.4 (http://ansible.org) # Completion script for ansible-galaxy v2.0.0.2 (http://ansible.org)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
# ------- # -------
# #
# * Romain Bossart (https://github.com/bosr) # * Romain Bossart (https://github.com/bosr)
# * Adam Stevko (https://github.com/xen0l)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# #
@ -50,51 +51,122 @@ _ansible-galaxy ()
typeset -A opt_args typeset -A opt_args
_arguments -C \ _arguments -C \
"1:command:(init info install list remove)" \ "1:command:(delete import info init install list login remove search setup)" \
"*::option:->option" "*::option:->option"
case $state in case $state in
option) option)
case $line[1] in case $line[1] in
init) delete)
_arguments \ _arguments \
"(-h --help)"{-h,--help}"[help message]" \ "(-h --help)"{-h,--help}"[help message]" \
"(-p --init-path)"{-p,--init-path}"[INIT_PATH path in which the skeleton role will be created (default=./)]:init path:(./)" \ "(-c --ignore-certs)"{-c,--ignore-certs}"[Ignore SSL certificate validation errors.]" \
"(--offline)--offline[Don't query the galaxy API when creating roles]" \
"(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \ "(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \
"(-f --force)"{-f,--force}"[Force overwriting an existing role]" \ "(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
":role name:(ROLE)" "--version[show program's version number and exit]" \
":github_user:(GITHUB_USER)" \
":github_repo:(GITHUB_REPO)"
;;
import)
_arguments \
"--branch[REFERENCE The name of a branch to import.]:reference:(master)" \
"(-h --help)"{-h,--help}"[help message]" \
"(-c --ignore-certs)"{-c,--ignore-certs}"[Ignore SSL certificate validation errors.]" \
"--no-wait[Don't wait for import results.]" \
"(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \
"--status[Check the status of the most recent import request forgiven github_user/github_repo.]" \
"(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]" \
":github_user:(GITHUB_USER)" \
":github_repo:(GITHUB_REPO)"
;; ;;
info) info)
_arguments \ _arguments \
"(-h --help)"{-h,--help}"[help message]" \ "(-h --help)"{-h,--help}"[help message]" \
"(-c --ignore-certs)"{-c,--ignore-certs}"[Ignore SSL certificate validation errors.]" \
"(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \ "(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \
"(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \ "(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \
"(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]" \
":role name:(ROLE,version)" ":role name:(ROLE,version)"
;; ;;
init)
_arguments \
"(-f --force)"{-f,--force}"[ Force overwriting an existing role]" \
"(-h --help)"{-h,--help}"[help message]" \
"(-c --ignore-certs)"{-c,--ignore-certs}"[Ignore SSL certificate validation errors.]" \
"(-p --init-path)"{-p,--init-path}"[INIT_PATH path in which the skeleton role will be created (default=./)]:init path:(./)" \
"(--offline)--offline[Don't query the galaxy API when creating roles]" \
"(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \
"(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]" \
":role name:(ROLE)"
;;
install) install)
_arguments \ _arguments \
"(-f --force)"{-f,--force}"[Force overwriting an existing role]" \
"(-h --help)"{-h,--help}"[help message]" \ "(-h --help)"{-h,--help}"[help message]" \
"(-c --ignore-certs)"{-c,--ignore-certs}"[Ignore SSL certificate validation errors.]" \
"(-i --ignore-errors)"{-i,--ignore-errors}"[Ignore errors and continue with the next specified role]" \ "(-i --ignore-errors)"{-i,--ignore-errors}"[Ignore errors and continue with the next specified role]" \
"(-n --no-deps)"{-n,--no-deps}"[Don't download roles listed as dependencies]" \ "(-n --no-deps)"{-n,--no-deps}"[Don't download roles listed as dependencies]" \
"(-r --role-file)"{-r,--role-file}"[ROLE_FILE A file containing a list of roles to be imported]:role file:_files" \ "(-r --role-file)"{-r,--role-file}"[ROLE_FILE A file containing a list of roles to be imported]:role file:_files" \
"(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \ "(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \
"(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \ "(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \
"(-f --force)"{-f,--force}"[Force overwriting an existing role]" \ "(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]" \
":role name:(ROLE)" ":role name:(ROLE)"
;; ;;
list) list)
_arguments \ _arguments \
"(-h --help)"{-h,--help}"[help message]" \ "(-h --help)"{-h,--help}"[help message]" \
"(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \ "(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \
"(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]" \
":role name:(ROLE)" ":role name:(ROLE)"
;; ;;
login)
_arguments \
"--github_token[TOKEN Identify with github token rather than username and password.]:token:(TOKEN)" \
"(-h --help)"{-h,--help}"[help message]" \
"(-c --ignore-certs)"{-c,--ignore-certs}"[Ignore SSL certificate validation errors.]" \
"(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \
"(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]"
;;
remove) remove)
_arguments \ _arguments \
"(-h --help)"{-h,--help}"[help message]" \ "(-h --help)"{-h,--help}"[help message]" \
"(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \ "(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \
"(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]" \
"*:role name:(ROLE)" "*:role name:(ROLE)"
;; ;;
search)
_arguments \
"--author[AUTHOR GitHub username]:author:(AUTHOR)" \
"--galaxy-tags[TAGS list of galaxy tags to filter by]:tags:(TAGS)" \
"(-h --help)"{-h,--help}"[help message]" \
"(-c --ignore-certs)"{-c,--ignore-certs}"[Ignore SSL certificate validation errors.]" \
"--platforms[PLATFORMS list of OS platforms to filter by" \
"(-p --roles-path)"{-p,--roles-path}"[ROLES_PATH The path to the directory containing your roles (default: from ansible.cfg)]:roles path:_files -/" \
"(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \
"(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]"
;;
setup)
_arguments \
"(-h --help)"{-h,--help}"[help message]" \
"(-c --ignore-certs)"{-c,--ignore-certs}"[Ignore SSL certificate validation errors.]" \
"--list[List all of your integrations.]" \
"--remove[REMOVE_ID Remove the integration matching the provided ID value.]:id:(REMOVE_ID)" \
"(-s --server)"{-s,--server}"[API_SERVER The API server destination]:api server:(http://apiserver)" \
"(-v --verbose)"{-v,--verbose}"[verbose mode (-vvv for more, -vvvv to enable connection debugging)]" \
"--version[show program's version number and exit]" \
":source:(travis)" \
":github_user:(GITHUB_USER)" \
":github_repo:(GITHUB_REPO)" \
":secret:(SECRET)"
;;
esac esac
;; ;;
esac esac

View File

@ -28,13 +28,14 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for ansible-playbook v1.8.4 (http://ansible.org) # Completion script for ansible-playbook v2.0.0.2 (http://ansible.org)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
# ------- # -------
# #
# * Romain Bossart (https://github.com/bosr) # * Romain Bossart (https://github.com/bosr)
# * Adam Stevko (https://github.com/xen0l)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# #
@ -126,10 +127,14 @@ _ansible-playbook ()
_arguments -C -W \ _arguments -C -W \
"1:playbook yml file:_files -g '*.yml'"\ "1:playbook yml file:_files -g '*.yml'"\
"(-k --ask-pass)"{-k,--ask-pass}"[ask for SSH password]"\ '--ask-become-pass[ask for privilege escalation password]'\
'--ask-su-pass[ask for su password]'\ "(-k --ask-pass)"{-k,--ask-pass}"[ask for connection password]"\
"(-K --ask-sudo-pass)"{-K,--ask-sudo-pass}"[ask for sudo password]"\ '--ask-su-pass[ask for su password (deprecated, use become)]'\
"(-K --ask-sudo-pass)"{-K,--ask-sudo-pass}"[ask for sudo password (deprecated, use become)]"\
'--ask-vault-pass[ask for vault password]'\ '--ask-vault-pass[ask for vault password]'\
"(-b --become)"{-b,--become}"[run operations with become (nopasswd implied)]"\
'--become-method[privilege escalation method to use (default=sudo)]:method:(sudo su pbrun pfexec runas doas)'\
'--become-user[run operations as this user (default=root)]:user:(USER)'\
"(-C --check)"{-C,--check}"[don't make any changes]"\ "(-C --check)"{-C,--check}"[don't make any changes]"\
"(-c --connection)"{-c,--connection}"[CONNECTION connection type to use (default=smart)]:connection type:(smart ssh local chroot)"\ "(-c --connection)"{-c,--connection}"[CONNECTION connection type to use (default=smart)]:connection type:(smart ssh local chroot)"\
"(-D --diff)"{-D,--diff}"[when changing (small files and templates, show the diff in those. Works great with --check)]"\ "(-D --diff)"{-D,--diff}"[when changing (small files and templates, show the diff in those. Works great with --check)]"\
@ -141,15 +146,23 @@ _ansible-playbook ()
"(-i --inventory-file)"{-i,--inventory-file}"[INVENTORY specify inventory host file]:inventory file:_files"\ "(-i --inventory-file)"{-i,--inventory-file}"[INVENTORY specify inventory host file]:inventory file:_files"\
"(-l --limit)"{-l,--limit}"[SUBSET further limit selected hosts to an additional pattern]:subset pattern:->pattern"\ "(-l --limit)"{-l,--limit}"[SUBSET further limit selected hosts to an additional pattern]:subset pattern:->pattern"\
'--list-hosts[outputs a list of matching hosts. Does not execute anything else]'\ '--list-hosts[outputs a list of matching hosts. Does not execute anything else]'\
'--list-tags[list all available tags]'\
'--list-tasks[list all tasks that would be executed]'\
"(-M --module-path)"{-M,--module-path}"[MODULE_PATH specify path to module library (default=None)]:module path:_files -/"\ "(-M --module-path)"{-M,--module-path}"[MODULE_PATH specify path to module library (default=None)]:module path:_files -/"\
"--private-key[PRIVATE_KEY_FILE use this file to authenticate the connection]:private key file:_files"\ '--new-vault-password-file[new vault password file for rekey]:new vault password file:_files'\
'--output[output file name for encrypt or decrypt; use - for stdout]:output file:_files'\
'--private-key[PRIVATE_KEY_FILE use this file to authenticate the connection]:private key file:_files'\
'--scp-extra-args[specify extra arguments to pass to scp only]'\
'--sftp-extra-args[specify extra arguments to pass to sftp only]'\
"--skip-tags[SKIP_TAGS only run plays and tasks whose tags do not match these values]:skip tags:(SKIP_TAGS)"\ "--skip-tags[SKIP_TAGS only run plays and tasks whose tags do not match these values]:skip tags:(SKIP_TAGS)"\
'--ssh-common-args[specify common arguments to pass to sftp/scp/ssh]'\
'--ssh-extra-args[specify extra arguments to pass to ssh only]'\
"--start-at-task[START_AT start the playbook at the task matching this name]:name:(TASK_NAME)"\ "--start-at-task[START_AT start the playbook at the task matching this name]:name:(TASK_NAME)"\
'--step[one-step-at-a-time: confirm each task before running]'\ '--step[one-step-at-a-time: confirm each task before running]'\
"(-S --su)"{-S,--su}"[run operations with su]"\ "(-S --su)"{-S,--su}"[run operations with su (deprecated, use become)]"\
"(-R --su-user)"{-R,--su-user}"[SU_USER run operations with su as this user (default=root)]:su user:(root)"\ "(-R --su-user)"{-R,--su-user}"[SU_USER run operations with su as this user (default=root) (deprecated, use become)]:su user:(root)"\
"(-s --sudo)"{-s,--sudo}"[run operations with sudo (nopasswd)]"\ "(-s --sudo)"{-s,--sudo}"[run operations with sudo (nopasswd) (deprecated, use become)]"\
"(-U --sudo-user)"{-U,--sudo-user}"[SUDO_USER desired sudo user (default=root)]:su user:(root)"\ "(-U --sudo-user)"{-U,--sudo-user}"[SUDO_USER desired sudo user (default=root) (deprecated, use become)]:su user:(root)"\
'--syntax-check[perform a syntax check on the playbook, but do not execute it]'\ '--syntax-check[perform a syntax check on the playbook, but do not execute it]'\
"(-t --tags)"{-t,--tags}"[TAGS only run plays and tasks gagged with these values]:task tags:(TAGS)"\ "(-t --tags)"{-t,--tags}"[TAGS only run plays and tasks gagged with these values]:task tags:(TAGS)"\
"(-T --timeout)"{-T,--timeout}"[TIMEOUT override the SSH timeout (s) (default=10)]:ssh timeout:(10)"\ "(-T --timeout)"{-T,--timeout}"[TIMEOUT override the SSH timeout (s) (default=10)]:ssh timeout:(10)"\