Skip to content

Instantly share code, notes, and snippets.

@benjifisher
Created November 16, 2014 18:09
Show Gist options
  • Save benjifisher/118e0a6d7dbf067faff8 to your computer and use it in GitHub Desktop.
Save benjifisher/118e0a6d7dbf067faff8 to your computer and use it in GitHub Desktop.
Work in progress: Ansible snippets for use with vim SnipMate or Ultisnips plugins.
snippet azure
azure:
name=${1}
location=${2}
subscription_id=${3}
management_cert_path=${4}
storage_account=${5}
image=${6}
role_size=${7}
endpoints=${8}
user=${9}
password=${10}
ssh_cert_path=${11}
virtual_network_name=${12}
hostname=${13}
wait=${14}
wait_timeout=${15}
wait_timeout_redirects=${16}
state=${17}
snippet cloudformation
cloudformation:
stack_name=${1}
disable_rollback=${2}
template_parameters=${3}
region=${4}
state=${5}
template=${6}
tags=${7}
aws_secret_key=${8}
aws_access_key=${9}
region=${10}
snippet digital_ocean
digital_ocean:
command=${1}
state=${2}
client_id=${3}
api_key=${4}
id=${5}
name=${6}
unique_name=${7}
size_id=${8}
image_id=${9}
region_id=${10}
ssh_key_ids=${11}
virtio=${12}
private_networking=${13}
backups_enabled=${14}
wait=${15}
wait_timeout=${16}
ssh_pub_key=${17}
snippet digital_ocean_domain
digital_ocean_domain:
state=${1}
client_id=${2}
api_key=${3}
id=${4}
name=${5}
ip=${6}
snippet digital_ocean_sshkey
digital_ocean_sshkey:
state=${1}
client_id=${2}
api_key=${3}
id=${4}
name=${5}
ssh_pub_key=${6}
snippet docker
docker:
count=${1}
image=${2}
command=${3}
name=${4}
ports=${5}
expose=${6}
publish_all_ports=${7}
volumes=${8}
volumes_from=${9}
links=${10}
memory_limit=${11}
docker_url=${12}
username=${13}
password=${14}
hostname=${15}
env=${16}
dns=${17}
detach=${18}
state=${19}
privileged=${20}
lxc_conf=${21}
name=${22}
stdin_open=${23}
tty=${24}
snippet docker_image
docker_image:
path=${1}
name=${2}
tag=${3}
nocache=${4}
docker_url=${5}
state=${6}
timeout=${7}
snippet ec2
ec2:
key_name=${1}
id=${2}
group=${3}
group_id=${4}
region=${5}
zone=${6}
instance_type=${7}
spot_price=${8}
image=${9}
kernel=${10}
ramdisk=${11}
wait=${12}
wait_timeout=${13}
spot_wait_timeout=${14}
count=${15}
monitoring=${16}
user_data=${17}
instance_tags=${18}
placement_group=${19}
vpc_subnet_id=${20}
assign_public_ip=${21}
private_ip=${22}
instance_profile_name=${23}
instance_ids=${24}
source_dest_check=${25}
state=${26}
volumes=${27}
ebs_optimized=${28}
exact_count=${29}
count_tag=${30}
snippet ec2_ami
ec2_ami:
instance_id=${1}
name=${2}
wait=${3}
wait_timeout=${4}
state=${5}
region=${6}
description=${7}
no_reboot=${8}
image_id=${9}
delete_snapshot=${10}
snippet ec2_ami_search
ec2_ami_search:
distro=${1}
release=${2}
stream=${3}
store=${4}
arch=${5}
region=${6}
virt=${7}
snippet ec2_asg
ec2_asg:
state=${1}
name=${2}
load_balancers=${3}
availability_zones=${4}
launch_config_name=${5}
min_size=${6}
max_size=${7}
desired_capacity=${8}
region=${9}
vpc_zone_identifier=${10}
tags=${11}
health_check_period=${12}
health_check_type=${13}
snippet ec2_eip
ec2_eip:
instance_id=${1}
public_ip=${2}
state=${3}
region=${4}
in_vpc=${5}
reuse_existing_ip_allowed=${6}
wait_timeout=${7}
snippet ec2_elb
ec2_elb:
state=${1}
instance_id=${2}
ec2_elbs=${3}
region=${4}
enable_availability_zone=${5}
wait=${6}
validate_certs=${7}
wait_timeout=${8}
snippet ec2_elb_lb
ec2_elb_lb:
state=${1}
name=${2}
listeners=${3}
purge_listeners=${4}
zones=${5}
purge_zones=${6}
security_group_ids=${7}
health_check=${8}
region=${9}
subnets=${10}
purge_subnets=${11}
scheme=${12}
validate_certs=${13}
snippet ec2_facts
ec2_facts:
snippet ec2_group
ec2_group:
name=${1}
description=${2}
vpc_id=${3}
rules=${4}
rules_egress=${5}
region=${6}
state=${7}
snippet ec2_key
ec2_key:
name=${1}
key_material=${2}
region=${3}
state=${4}
wait=${5}
wait_timeout=${6}
snippet ec2_lc
ec2_lc:
state=${1}
name=${2}
instance_type=${3}
image_id=${4}
key_name=${5}
security_groups=${6}
region=${7}
volumes=${8}
user_data=${9}
spot_price=${10}
instance_monitoring=${11}
snippet ec2_metric_alarm
ec2_metric_alarm:
snippet ec2_scaling_policy
ec2_scaling_policy:
state=${1}
name=${2}
asg_name=${3}
adjustment_type=${4}
scaling_adjustment=${5}
min_adjustment_step=${6}
cooldown=${7}
snippet ec2_snapshot
ec2_snapshot:
region=${1}
volume_id=${2}
description=${3}
instance_id=${4}
device_name=${5}
snapshot_tags=${6}
snippet ec2_tag
ec2_tag:
resource=${1}
state=${2}
region=${3}
snippet ec2_vol
ec2_vol:
instance=${1}
name=${2}
id=${3}
volume_size=${4}
iops=${5}
device_name=${6}
region=${7}
zone=${8}
snapshot=${9}
validate_certs=${10}
state=${11}
snippet ec2_vpc
ec2_vpc:
cidr_block=${1}
instance_tenancy=${2}
dns_support=${3}
dns_hostnames=${4}
subnets=${5}
vpc_id=${6}
resource_tags=${7}
internet_gateway=${8}
route_tables=${9}
wait=${10}
wait_timeout=${11}
state=${12}
region=${13}
aws_secret_key=${14}
aws_access_key=${15}
validate_certs=${16}
snippet elasticache
elasticache:
state=${1}
name=${2}
engine=${3}
cache_engine_version=${4}
node_type=${5}
num_nodes=${6}
cache_port=${7}
security_group_ids=${8}
cache_security_groups=${9}
zone=${10}
wait=${11}
hard_modify=${12}
aws_secret_key=${13}
aws_access_key=${14}
region=${15}
snippet gc_storage
gc_storage:
bucket=${1}
object=${2}
src=${3}
dest=${4}
force=${5}
permission=${6}
expiration=${7}
mode=${8}
gcs_secret_key=${9}
gcs_access_key=${10}
snippet gce
gce:
image=${1}
instance_names=${2}
machine_type=${3}
metadata=${4}
service_account_email=${5}
pem_file=${6}
project_id=${7}
name=${8}
network=${9}
persistent_boot_disk=${10}
disks=${11}
state=${12}
tags=${13}
zone=${14}
snippet gce_lb
gce_lb:
httphealthcheck_name=${1}
httphealthcheck_port=${2}
httphealthcheck_path=${3}
httphealthcheck_interval=${4}
httphealthcheck_timeout=${5}
httphealthcheck_unhealthy_count=${6}
httphealthcheck_healthy_count=${7}
httphealthcheck_host=${8}
name=${9}
protocol=${10}
region=${11}
external_ip=${12}
port_range=${13}
members=${14}
state=${15}
service_account_email=${16}
pem_file=${17}
project_id=${18}
snippet gce_net
gce_net:
allowed=${1}
ipv4_range=${2}
fwname=${3}
name=${4}
src_range=${5}
src_tags=${6}
state=${7}
service_account_email=${8}
pem_file=${9}
project_id=${10}
snippet gce_pd
gce_pd:
detach_only=${1}
instance_name=${2}
mode=${3}
name=${4}
size_gb=${5}
image=${6}
snapshot=${7}
state=${8}
zone=${9}
service_account_email=${10}
pem_file=${11}
project_id=${12}
snippet glance_image
glance_image:
snippet keystone_user
keystone_user:
snippet linode
linode:
state=${1}
api_key=${2}
name=${3}
linode_id=${4}
plan=${5}
payment_term=${6}
password=${7}
ssh_pub_key=${8}
swap=${9}
distribution=${10}
datacenter=${11}
wait=${12}
wait_timeout=${13}
snippet nova_compute
nova_compute:
snippet nova_keypair
nova_keypair:
snippet ovirt
ovirt:
user=${1}
url=${2}
instance_name=${3}
password=${4}
image=${5}
resource_type=${6}
zone=${7}
instance_disksize=${8}
instance_cpus=${9}
instance_nic=${10}
instance_network=${11}
instance_mem=${12}
instance_type=${13}
disk_alloc=${14}
disk_int=${15}
instance_os=${16}
instance_cores=${17}
sdomain=${18}
region=${19}
state=${20}
snippet quantum_floating_ip
quantum_floating_ip:
snippet quantum_floating_ip_associate
quantum_floating_ip_associate:
snippet quantum_network
quantum_network:
snippet quantum_router
quantum_router:
snippet quantum_router_gateway
quantum_router_gateway:
snippet quantum_router_interface
quantum_router_interface:
snippet quantum_subnet
quantum_subnet:
snippet rax
rax:
auto_increment=${1}
config_drive=${2}
count=${3}
count_offset=${4}
disk_config=${5}
exact_count=${6}
extra_client_args=${7}
extra_create_args=${8}
files=${9}
flavor=${10}
group=${11}
image=${12}
instance_ids=${13}
key_name=${14}
meta=${15}
name=${16}
networks=${17}
state=${18}
user_data=${19}
wait=${20}
wait_timeout=${21}
snippet rax_cbs
rax_cbs:
description=${1}
meta=${2}
name=${3}
size=${4}
snapshot_id=${5}
state=${6}
volume_type=${7}
wait=${8}
wait_timeout=${9}
snippet rax_cbs_attachments
rax_cbs_attachments:
device=${1}
volume=${2}
server=${3}
state=${4}
wait=${5}
wait_timeout=${6}
snippet rax_clb
rax_clb:
algorithm=${1}
meta=${2}
name=${3}
port=${4}
protocol=${5}
state=${6}
timeout=${7}
type=${8}
vip_id=${9}
wait=${10}
wait_timeout=${11}
snippet rax_clb_nodes
rax_clb_nodes:
address=${1}
condition=${2}
load_balancer_id=${3}
node_id=${4}
port=${5}
state=${6}
type=${7}
wait=${8}
wait_timeout=${9}
weight=${10}
snippet rax_dns
rax_dns:
comment=${1}
email=${2}
name=${3}
state=${4}
ttl=${5}
snippet rax_dns_record
rax_dns_record:
comment=${1}
data=${2}
domain=${3}
loadbalancer=${4}
name=${5}
priority=${6}
server=${7}
state=${8}
ttl=${9}
type=${10}
snippet rax_facts
rax_facts:
address=${1}
id=${2}
name=${3}
snippet rax_files
rax_files:
clear_meta=${1}
container=${2}
meta=${3}
private=${4}
public=${5}
region=${6}
state=${7}
ttl=${8}
type=${9}
web_error=${10}
web_index=${11}
snippet rax_files_objects
rax_files_objects:
clear_meta=${1}
container=${2}
dest=${3}
expires=${4}
meta=${5}
method=${6}
src=${7}
structure=${8}
state=${9}
type=${10}
snippet rax_identity
rax_identity:
state=${1}
snippet rax_keypair
rax_keypair:
name=${1}
public_key=${2}
state=${3}
snippet rax_meta
rax_meta:
address=${1}
id=${2}
name=${3}
meta=${4}
snippet rax_network
rax_network:
state=${1}
label=${2}
cidr=${3}
snippet rax_queue
rax_queue:
name=${1}
state=${2}
snippet rax_scaling_group
rax_scaling_group:
cooldown=${1}
disk_config=${2}
files=${3}
flavor=${4}
image=${5}
key_name=${6}
loadbalancers=${7}
max_entities=${8}
meta=${9}
min_entities=${10}
name=${11}
networks=${12}
server_name=${13}
state=${14}
snippet rax_scaling_policy
rax_scaling_policy:
at=${1}
change=${2}
cron=${3}
cooldown=${4}
desired_capacity=${5}
is_percent=${6}
name=${7}
policy_type=${8}
scaling_group=${9}
state=${10}
snippet rds
rds:
command=${1}
instance_name=${2}
source_instance=${3}
db_engine=${4}
size=${5}
instance_type=${6}
username=${7}
password=${8}
region=${9}
db_name=${10}
engine_version=${11}
parameter_group=${12}
license_model=${13}
multi_zone=${14}
iops=${15}
security_groups=${16}
vpc_security_groups=${17}
port=${18}
upgrade=${19}
option_group=${20}
maint_window=${21}
backup_window=${22}
backup_retention=${23}
zone=${24}
subnet=${25}
snapshot=${26}
aws_secret_key=${27}
aws_access_key=${28}
wait=${29}
wait_timeout=${30}
apply_immediately=${31}
new_instance_name=${32}
snippet rds_param_group
rds_param_group:
state=${1}
name=${2}
description=${3}
engine=${4}
immediate=${5}
params=${6}
region=${7}
aws_access_key=${8}
aws_secret_key=${9}
snippet rds_subnet_group
rds_subnet_group:
state=${1}
name=${2}
description=${3}
subnets=${4}
region=${5}
aws_access_key=${6}
aws_secret_key=${7}
snippet route53
route53:
command=${1}
zone=${2}
record=${3}
ttl=${4}
type=${5}
value=${6}
aws_secret_key=${7}
aws_access_key=${8}
overwrite=${9}
retry_interval=${10}
snippet s3
s3:
bucket=${1}
object=${2}
src=${3}
dest=${4}
overwrite=${5}
mode=${6}
expiration=${7}
s3_url=${8}
aws_secret_key=${9}
aws_access_key=${10}
metadata=${11}
snippet virt
virt:
name=${1}
state=${2}
command=${3}
uri=${4}
xml=${5}
snippet vsphere_guest
vsphere_guest:
vcenter_hostname=${1}
guest=${2}
user=${3}
password=${4}
resource_pool=${5}
cluster=${6}
esxi=${7}
state=${8}
vm_disk=${9}
vm_hardware=${10}
vm_nic=${11}
vm_extra_config=${12}
vm_hw_version=${13}
vmware_guest_facts=${14}
force=${15}
snippet command
command:
free_form=${1}
creates=${2}
removes=${3}
chdir=${4}
executable=${5}
snippet raw
raw:
free_form=${1}
executable=${2}
snippet script
script:
free_form=${1}
creates=${2}
removes=${3}
snippet shell
shell:
free_form=${1}
creates=${2}
removes=${3}
chdir=${4}
executable=${5}
snippet mongodb_user
mongodb_user:
snippet mysql_db
mysql_db:
name=${1}
login_user=${2}
login_password=${3}
login_host=${4}
login_port=${5}
login_unix_socket=${6}
state=${7}
collation=${8}
encoding=${9}
target=${10}
snippet mysql_replication
mysql_replication:
snippet mysql_user
mysql_user:
name=${1}
password=${2}
host=${3}
login_user=${4}
login_password=${5}
login_host=${6}
login_port=${7}
login_unix_socket=${8}
priv=${9}
append_privs=${10}
state=${11}
check_implicit_admin=${12}
snippet mysql_variables
mysql_variables:
snippet postgresql_db
postgresql_db:
name=${1}
login_user=${2}
login_password=${3}
login_host=${4}
owner=${5}
port=${6}
template=${7}
encoding=${8}
encoding=${9}
lc_collate=${10}
lc_ctype=${11}
state=${12}
snippet postgresql_privs
postgresql_privs:
database=${1}
state=${2}
privs=${3}
type=${4}
objs=${5}
schema=${6}
roles=${7}
grant_option=${8}
host=${9}
port=${10}
login=${11}
password=${12}
snippet postgresql_user
postgresql_user:
name=${1}
password=${2}
db=${3}
fail_on_user=${4}
port=${5}
login_user=${6}
login_password=${7}
login_host=${8}
priv=${9}
role_attr_flags=${10}
state=${11}
encrypted=${12}
expires=${13}
snippet redis
redis:
snippet riak
riak:
command=${1}
config_dir=${2}
http_conn=${3}
target_node=${4}
wait_for_handoffs=${5}
wait_for_ring=${6}
wait_for_service=${7}
validate_certs=${8}
snippet acl
acl:
name=${1}
state=${2}
follow=${3}
default=${4}
entity=${5}
etype=${6}
permissions=${7}
entry=${8}
snippet assemble
assemble:
src=${1}
dest=${2}
backup=${3}
delimiter=${4}
remote_src=${5}
regexp=${6}
path=${7}
state=${8}
src=${9}
recurse=${10}
force=${11}
snippet copy
copy:
src=${1}
content=${2}
dest=${3}
backup=${4}
force=${5}
validate=${6}
directory_mode=${7}
recurse=${8}
snippet fetch
fetch:
src=${1}
dest=${2}
fail_on_missing=${3}
validate_md5=${4}
flat=${5}
snippet file
file:
path=${1}
state=${2}
src=${3}
recurse=${4}
force=${5}
snippet ini_file
ini_file:
dest=${1}
section=${2}
option=${3}
value=${4}
backup=${5}
path=${6}
state=${7}
src=${8}
recurse=${9}
force=${10}
snippet lineinfile
lineinfile:
dest=${1}
regexp=${2}
state=${3}
line=${4}
backrefs=${5}
insertafter=${6}
insertbefore=${7}
create=${8}
backup=${9}
validate=${10}
path=${11}
state=${12}
src=${13}
recurse=${14}
force=${15}
snippet replace
replace:
dest=${1}
regexp=${2}
replace=${3}
backup=${4}
validate=${5}
path=${6}
state=${7}
src=${8}
recurse=${9}
force=${10}
snippet stat
stat:
path=${1}
follow=${2}
get_md5=${3}
snippet synchronize
synchronize:
src=${1}
dest=${2}
dest_port=${3}
mode=${4}
archive=${5}
checksum=${6}
compress=${7}
existing_only=${8}
delete=${9}
dirs=${10}
recursive=${11}
links=${12}
copy_links=${13}
perms=${14}
times=${15}
owner=${16}
group=${17}
rsync_path=${18}
rsync_timeout=${19}
set_remote_user=${20}
rsync_opts=${21}
snippet template
template:
src=${1}
dest=${2}
backup=${3}
validate=${4}
snippet unarchive
unarchive:
src=${1}
dest=${2}
copy=${3}
creates=${4}
snippet xattr
xattr:
name=${1}
key=${2}
value=${3}
state=${4}
follow=${5}
snippet async_status
async_status:
jid=${1}
mode=${2}
snippet add_host
add_host:
name=${1}
groups=${2}
snippet group_by
group_by:
key=${1}
snippet rabbitmq_parameter
rabbitmq_parameter:
component=${1}
name=${2}
value=${3}
vhost=${4}
node=${5}
state=${6}
snippet rabbitmq_plugin
rabbitmq_plugin:
names=${1}
new_only=${2}
state=${3}
prefix=${4}
snippet rabbitmq_policy
rabbitmq_policy:
name=${1}
vhost=${2}
pattern=${3}
tags=${4}
priority=${5}
node=${6}
state=${7}
snippet rabbitmq_user
rabbitmq_user:
user=${1}
password=${2}
tags=${3}
vhost=${4}
node=${5}
configure_priv=${6}
write_priv=${7}
read_priv=${8}
force=${9}
state=${10}
snippet rabbitmq_vhost
rabbitmq_vhost:
name=${1}
node=${2}
tracing=${3}
state=${4}
snippet airbrake_deployment
airbrake_deployment:
token=${1}
environment=${2}
user=${3}
repo=${4}
revision=${5}
url=${6}
validate_certs=${7}
snippet boundary_meter
boundary_meter:
snippet datadog_event
datadog_event:
snippet librato_annotation
librato_annotation:
snippet logentries
logentries:
snippet monit
monit:
name=${1}
state=${2}
snippet nagios
nagios:
action=${1}
host=${2}
cmdfile=${3}
author=${4}
minutes=${5}
services=${6}
command=${7}
snippet newrelic_deployment
newrelic_deployment:
token=${1}
app_name=${2}
application_id=${3}
changelog=${4}
description=${5}
revision=${6}
user=${7}
appname=${8}
environment=${9}
validate_certs=${10}
snippet pagerduty
pagerduty:
snippet pingdom
pingdom:
snippet rollbar_deployment
rollbar_deployment:
token=${1}
environment=${2}
revision=${3}
user=${4}
rollbar_user=${5}
comment=${6}
url=${7}
validate_certs=${8}
snippet stackdriver
stackdriver:
key=${1}
event=${2}
revision_id=${3}
deployed_by=${4}
deployed_to=${5}
repository=${6}
msg=${7}
annotated_by=${8}
level=${9}
instance_id=${10}
event_epoch=${11}
snippet arista_interface
arista_interface:
snippet arista_l2interface
arista_l2interface:
snippet arista_lag
arista_lag:
snippet arista_vlan
arista_vlan:
snippet bigip_facts
bigip_facts:
snippet bigip_monitor_http
bigip_monitor_http:
snippet bigip_monitor_tcp
bigip_monitor_tcp:
snippet bigip_node
bigip_node:
snippet bigip_pool
bigip_pool:
snippet bigip_pool_member
bigip_pool_member:
snippet dnsimple
dnsimple:
account_email=${1}
account_api_token=${2}
domain=${3}
record=${4}
record_ids=${5}
type=${6}
ttl=${7}
value=${8}
priority=${9}
state=${10}
solo=${11}
snippet dnsmadeeasy
dnsmadeeasy:
account_key=${1}
account_secret=${2}
domain=${3}
record_name=${4}
record_type=${5}
record_value=${6}
record_ttl=${7}
state=${8}
validate_certs=${9}
snippet lldp
lldp:
snippet netscaler
netscaler:
nsc_host=${1}
nsc_protocol=${2}
user=${3}
password=${4}
action=${5}
name=${6}
type=${7}
validate_certs=${8}
snippet openvswitch_bridge
openvswitch_bridge:
snippet openvswitch_port
openvswitch_port:
snippet get_url
get_url:
url=${1}
dest=${2}
force=${3}
sha256sum=${4}
use_proxy=${5}
validate_certs=${6}
url_username=${7}
url_password=${8}
path=${9}
state=${10}
src=${11}
recurse=${12}
force=${13}
snippet slurp
slurp:
src=${1}
snippet uri
uri:
url=${1}
dest=${2}
user=${3}
password=${4}
body=${5}
method=${6}
return_content=${7}
force_basic_auth=${8}
follow_redirects=${9}
creates=${10}
removes=${11}
status_code=${12}
timeout=${13}
HEADER_=${14}
path=${15}
state=${16}
src=${17}
recurse=${18}
force=${19}
snippet campfire
campfire:
subscription=${1}
token=${2}
room=${3}
msg=${4}
notify=${5}
snippet flowdock
flowdock:
token=${1}
type=${2}
msg=${3}
tags=${4}
external_user_name=${5}
from_address=${6}
source=${7}
subject=${8}
from_name=${9}
reply_to=${10}
project=${11}
link=${12}
validate_certs=${13}
snippet grove
grove:
channel_token=${1}
service=${2}
message=${3}
url=${4}
icon_url=${5}
validate_certs=${6}
snippet hipchat
hipchat:
token=${1}
room=${2}
from=${3}
msg=${4}
color=${5}
msg_format=${6}
notify=${7}
validate_certs=${8}
api=${9}
snippet irc
irc:
server=${1}
port=${2}
nick=${3}
msg=${4}
color=${5}
channel=${6}
key=${7}
passwd=${8}
timeout=${9}
snippet jabber
jabber:
user=${1}
password=${2}
to=${3}
msg=${4}
host=${5}
port=${6}
encoding=${7}
snippet mail
mail:
from=${1}
to=${2}
cc=${3}
bcc=${4}
subject=${5}
body=${6}
host=${7}
port=${8}
attach=${9}
headers=${10}
charset=${11}
snippet mqtt
mqtt:
server=${1}
port=${2}
username=${3}
password=${4}
client_id=${5}
topic=${6}
payload=${7}
qos=${8}
retain=${9}
snippet nexmo
nexmo:
api_key=${1}
api_secret=${2}
src=${3}
dest=${4}
msg=${5}
validate_certs=${6}
snippet osx_say
osx_say:
msg=${1}
voice=${2}
snippet slack
slack:
domain=${1}
token=${2}
msg=${3}
channel=${4}
username=${5}
icon_url=${6}
icon_emoji=${7}
link_names=${8}
parse=${9}
validate_certs=${10}
snippet sns
sns:
msg=${1}
subject=${2}
topic=${3}
email=${4}
sqs=${5}
sms=${6}
http=${7}
https=${8}
aws_secret_key=${9}
aws_access_key=${10}
region=${11}
snippet twilio
twilio:
account_sid=${1}
auth_token=${2}
msg=${3}
to_number=${4}
from_number=${5}
snippet typetalk
typetalk:
client_id=${1}
client_secret=${2}
topic=${3}
msg=${4}
snippet apt
apt:
name=${1}
state=${2}
update_cache=${3}
cache_valid_time=${4}
purge=${5}
default_release=${6}
install_recommends=${7}
force=${8}
upgrade=${9}
dpkg_options=${10}
deb=${11}
snippet apt_key
apt_key:
snippet apt_repository
apt_repository:
snippet apt_rpm
apt_rpm:
pkg=${1}
state=${2}
update_cache=${3}
snippet composer
composer:
snippet cpanm
cpanm:
name=${1}
from_path=${2}
notest=${3}
locallib=${4}
mirror=${5}
snippet easy_install
easy_install:
name=${1}
virtualenv=${2}
virtualenv_site_packages=${3}
virtualenv_command=${4}
executable=${5}
snippet gem
gem:
name=${1}
state=${2}
gem_source=${3}
include_dependencies=${4}
repository=${5}
user_install=${6}
executable=${7}
version=${8}
pre_release=${9}
snippet homebrew
homebrew:
snippet homebrew_cask
homebrew_cask:
snippet homebrew_tap
homebrew_tap:
snippet layman
layman:
name=${1}
list_url=${2}
state=${3}
snippet macports
macports:
snippet npm
npm:
name=${1}
path=${2}
version=${3}
global=${4}
executable=${5}
production=${6}
registry=${7}
state=${8}
snippet openbsd_pkg
openbsd_pkg:
snippet opkg
opkg:
snippet pacman
pacman:
snippet pip
pip:
name=${1}
version=${2}
requirements=${3}
virtualenv=${4}
virtualenv_site_packages=${5}
virtualenv_command=${6}
state=${7}
extra_args=${8}
chdir=${9}
executable=${10}
snippet pkgin
pkgin:
snippet pkgng
pkgng:
snippet pkgutil
pkgutil:
name=${1}
site=${2}
state=${3}
snippet portage
portage:
package=${1}
state=${2}
update=${3}
deep=${4}
newuse=${5}
oneshot=${6}
noreplace=${7}
nodeps=${8}
onlydeps=${9}
depclean=${10}
quiet=${11}
verbose=${12}
sync=${13}
snippet portinstall
portinstall:
snippet redhat_subscription
redhat_subscription:
snippet rhn_channel
rhn_channel:
snippet rhn_register
rhn_register:
snippet rpm_key
rpm_key:
snippet svr4pkg
svr4pkg:
name=${1}
state=${2}
src=${3}
proxy=${4}
response_file=${5}
zone=${6}
category=${7}
snippet swdepot
swdepot:
snippet urpmi
urpmi:
pkg=${1}
state=${2}
update_cache=${3}
no-suggests=${4}
force=${5}
snippet yum
yum:
name=${1}
list=${2}
state=${3}
enablerepo=${4}
disablerepo=${5}
conf_file=${6}
disable_gpg_check=${7}
snippet zypper
zypper:
snippet zypper_repository
zypper_repository:
snippet bzr
bzr:
snippet git
git:
snippet github_hooks
github_hooks:
user=${1}
oauthkey=${2}
repo=${3}
hookurl=${4}
action=${5}
validate_certs=${6}
snippet hg
hg:
snippet subversion
subversion:
repo=${1}
dest=${2}
revision=${3}
force=${4}
username=${5}
password=${6}
executable=${7}
export=${8}
snippet alternatives
alternatives:
name=${1}
path=${2}
link=${3}
snippet at
at:
command=${1}
script_file=${2}
count=${3}
units=${4}
state=${5}
unique=${6}
snippet authorized_key
authorized_key:
user=${1}
key=${2}
path=${3}
manage_dir=${4}
state=${5}
key_options=${6}
snippet capabilities
capabilities:
snippet cron
cron:
name=${1}
user=${2}
job=${3}
state=${4}
cron_file=${5}
backup=${6}
minute=${7}
hour=${8}
day=${9}
month=${10}
weekday=${11}
reboot=${12}
special_time=${13}
snippet debconf
debconf:
name=${1}
question=${2}
vtype=${3}
value=${4}
unseen=${5}
snippet facter
facter:
snippet filesystem
filesystem:
fstype=${1}
dev=${2}
force=${3}
opts=${4}
snippet firewalld
firewalld:
service=${1}
port=${2}
rich_rule=${3}
zone=${4}
permanent=${5}
state=${6}
timeout=${7}
snippet group
group:
snippet hostname
hostname:
snippet kernel_blacklist
kernel_blacklist:
snippet locale_gen
locale_gen:
snippet lvg
lvg:
vg=${1}
pvs=${2}
pesize=${3}
vg_options=${4}
state=${5}
force=${6}
snippet lvol
lvol:
vg=${1}
lv=${2}
size=${3}
state=${4}
force=${5}
snippet modprobe
modprobe:
snippet mount
mount:
name=${1}
src=${2}
fstype=${3}
opts=${4}
dump=${5}
passno=${6}
state=${7}
fstab=${8}
snippet ohai
ohai:
snippet open_iscsi
open_iscsi:
snippet ping
ping:
snippet seboolean
seboolean:
name=${1}
persistent=${2}
state=${3}
snippet selinux
selinux:
policy=${1}
state=${2}
conf=${3}
snippet service
service:
snippet setup
setup:
snippet sysctl
sysctl:
snippet ufw
ufw:
state=${1}
policy=${2}
direction=${3}
logging=${4}
insert=${5}
rule=${6}
log=${7}
from_ip=${8}
from_port=${9}
to_ip=${10}
to_port=${11}
proto=${12}
name=${13}
delete=${14}
interface=${15}
snippet user
user:
snippet zfs
zfs:
name=${1}
state=${2}
aclinherit=${3}
aclmode=${4}
atime=${5}
canmount=${6}
casesensitivity=${7}
checksum=${8}
compression=${9}
copies=${10}
dedup=${11}
devices=${12}
exec=${13}
jailed=${14}
logbias=${15}
mountpoint=${16}
nbmand=${17}
normalization=${18}
primarycache=${19}
quota=${20}
readonly=${21}
recordsize=${22}
refquota=${23}
refreservation=${24}
reservation=${25}
secondarycache=${26}
setuid=${27}
shareiscsi=${28}
sharenfs=${29}
sharesmb=${30}
snapdir=${31}
sync=${32}
utf8only=${33}
volsize=${34}
volblocksize=${35}
vscan=${36}
xattr=${37}
zoned=${38}
snippet accelerate
accelerate:
port=${1}
timeout=${2}
minutes=${3}
ipv6=${4}
multi_key=${5}
snippet assert
assert:
that=${1}
snippet debug
debug:
msg=${1}
var=${2}
snippet fail
fail:
msg=${1}
snippet fireball
fireball:
port=${1}
minutes=${2}
snippet include_vars
include_vars:
free-form=${1}
snippet pause
pause:
minutes=${1}
seconds=${2}
prompt=${3}
snippet set_fact
set_fact:
key_value=${1}
snippet wait_for
wait_for:
host=${1}
timeout=${2}
delay=${3}
port=${4}
state=${5}
path=${6}
search_regex=${7}
snippet apache2_module
apache2_module:
snippet django_manage
django_manage:
command=${1}
app_path=${2}
settings=${3}
pythonpath=${4}
virtualenv=${5}
apps=${6}
cache_table=${7}
database=${8}
failfast=${9}
fixtures=${10}
skip=${11}
merge=${12}
link=${13}
snippet ejabberd_user
ejabberd_user:
snippet htpasswd
htpasswd:
path=${1}
name=${2}
password=${3}
crypt_scheme=${4}
state=${5}
create=${6}
snippet jboss
jboss:
deployment=${1}
src=${2}
deploy_path=${3}
state=${4}
snippet jira
jira:
uri=${1}
operation=${2}
username=${3}
password=${4}
project=${5}
summary=${6}
description=${7}
issuetype=${8}
issue=${9}
comment=${10}
status=${11}
assignee=${12}
fields=${13}
snippet supervisorctl
supervisorctl:
name=${1}
config=${2}
server_url=${3}
username=${4}
password=${5}
state=${6}
supervisorctl_path=${7}
snippet win_feature
win_feature:
name=${1}
state=${2}
restart=${3}
include_sub_features=${4}
include_management_tools=${5}
snippet win_get_url
win_get_url:
url=${1}
dest=${2}
snippet win_group
win_group:
name=${1}
description=${2}
state=${3}
snippet win_msi
win_msi:
snippet win_ping
win_ping:
data=${1}
snippet win_service
win_service:
name=${1}
start_mode=${2}
state=${3}
snippet win_stat
win_stat:
path=${1}
get_md5=${2}
snippet win_user
win_user:
name=${1}
password=${2}
state=${3}
@benjifisher
Copy link
Author

There are known problems with this version of the file. When we have worked out the bugs, this will be incorporated into https://github.com/chase/vim-ansible-yaml . See this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment