Skip to content

Commit

Permalink
Additional extra snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
memoryleak committed Mar 24, 2023
1 parent b313d1e commit 058ca01
Show file tree
Hide file tree
Showing 403 changed files with 4,158 additions and 1,707 deletions.
37 changes: 19 additions & 18 deletions amazon.aws.rds_instance.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,25 @@
source_region: ${64:# The region of the DB instance from which the replica is created}
storage_encrypted: ${65:# Whether the DB instance is encrypted}
storage_type: ${66:# The storage type to be associated with the DB instance}
tde_credential_arn: ${67:# The ARN from the key store with which to associate the instance for Transparent Data Encryption}
tde_credential_password: ${68:# The password for the given ARN from the key store in order to access the device}
timezone: ${69:# The time zone of the DB instance}
use_latest_restorable_time: ${70:# Whether to restore the DB instance to the latest restorable backup time}
vpc_security_group_ids: ${71:# A list of EC2 VPC security groups to associate with the DB instance}
purge_security_groups: ${72:# Set to False to retain any enabled security groups that aren't specified in the task and are associated with the instance}
access_key: ${73:# AWS access key ID}
secret_key: ${74:# AWS secret access key}
session_token: ${75:# AWS STS session token for use with temporary credentials}
profile: ${76:# A named AWS profile to use for authentication}
endpoint_url: ${77:# URL to connect to instead of the default AWS endpoints}
aws_ca_bundle: ${78:# The location of a CA Bundle to use when validating SSL certificates}
validate_certs: ${79:# When set to C(false), SSL certificates will not be validated for communication with the AWS APIs}
aws_config: ${80:# A dictionary to modify the botocore configuration}
debug_botocore_endpoint_logs: ${81:# Use a C(botocore}
region: ${82:# The AWS region to use}
tags: ${83:# A dictionary representing the tags to be applied to the resource}
purge_tags: ${84:# If I(purge_tags=true) and I(tags) is set, existing tags will be purged from the resource to match exactly what is defined by I(tags) parameter}
storage_throughput: ${67:# The storage throughput when the I(storage_type) is C(gp3)}
tde_credential_arn: ${68:# The ARN from the key store with which to associate the instance for Transparent Data Encryption}
tde_credential_password: ${69:# The password for the given ARN from the key store in order to access the device}
timezone: ${70:# The time zone of the DB instance}
use_latest_restorable_time: ${71:# Whether to restore the DB instance to the latest restorable backup time}
vpc_security_group_ids: ${72:# A list of EC2 VPC security groups to associate with the DB instance}
purge_security_groups: ${73:# Set to False to retain any enabled security groups that aren't specified in the task and are associated with the instance}
access_key: ${74:# AWS access key ID}
secret_key: ${75:# AWS secret access key}
session_token: ${76:# AWS STS session token for use with temporary credentials}
profile: ${77:# A named AWS profile to use for authentication}
endpoint_url: ${78:# URL to connect to instead of the default AWS endpoints}
aws_ca_bundle: ${79:# The location of a CA Bundle to use when validating SSL certificates}
validate_certs: ${80:# When set to C(false), SSL certificates will not be validated for communication with the AWS APIs}
aws_config: ${81:# A dictionary to modify the botocore configuration}
debug_botocore_endpoint_logs: ${82:# Use a C(botocore}
region: ${83:# The AWS region to use}
tags: ${84:# A dictionary representing the tags to be applied to the resource}
purge_tags: ${85:# If I(purge_tags=true) and I(tags) is set, existing tags will be purged from the resource to match exactly what is defined by I(tags) parameter}
tags:
- amazon
- aws
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin._include.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
ansible.builtin._include:
free-form: ${2:# This module allows you to specify the name of the file directly without any other options}
tags:
- ansible
- builtin
- _include]]></content>
<tabTrigger>ansible.builtin._include</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.add_host.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: ${2:# The hostname/ip of the host to add to the inventory, can include a colon and a port number}
groups: ${3:# The groups to add the hostname to}
tags:
- ansible
- builtin
- add_host]]></content>
<tabTrigger>ansible.builtin.add_host</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
6 changes: 2 additions & 4 deletions ansible.builtin.apt.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@
upgrade: ${16:# If yes or safe, performs an aptitude safe-upgrade}
dpkg_options: ${17:# Add dpkg options to apt command}
deb: ${18:# Path to a }
autoremove: ${19:# If C(yes), remove unused dependency packages for all module states except I(build-dep)}
autoclean: ${20:# If C(yes), cleans the local repository of retrieved package files that can no longer be downloaded}
autoremove: ${19:# If C(true), remove unused dependency packages for all module states except I(build-dep)}
autoclean: ${20:# If C(true), cleans the local repository of retrieved package files that can no longer be downloaded}
policy_rc_d: ${21:# Force the exit code of /usr/sbin/policy-rc}
only_upgrade: ${22:# Only upgrade a package if it is already installed}
fail_on_autoremove: ${23:# Corresponds to the C(--no-remove) option for C(apt)}
force_apt_get: ${24:# Force usage of apt-get instead of aptitude}
lock_timeout: ${25:# How many seconds will this action wait to acquire a lock on the apt db}
tags:
- ansible
- builtin
- apt]]></content>
<tabTrigger>ansible.builtin.apt</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
4 changes: 1 addition & 3 deletions ansible.builtin.apt_key.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
url: ${6:# The URL to retrieve key from}
keyserver: ${7:# The keyserver to retrieve key from}
state: ${8:# Ensures that the key is present (added) or absent (revoked)}
validate_certs: ${9:# If C(no), SSL certificates for the target url will not be validated}
validate_certs: ${9:# If C(false), SSL certificates for the target url will not be validated}
tags:
- ansible
- builtin
- apt_key]]></content>
<tabTrigger>ansible.builtin.apt_key</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
4 changes: 1 addition & 3 deletions ansible.builtin.apt_repository.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
update_cache: ${5:# Run the equivalent of C(apt-get update) when a change occurs}
update_cache_retries: ${6:# Amount of retries if the cache update fails}
update_cache_retry_max_delay: ${7:# Use an exponential backoff delay for each retry (see I(update_cache_retries)) up to this max delay in seconds}
validate_certs: ${8:# If C(no), SSL certificates for the target repo will not be validated}
validate_certs: ${8:# If C(false), SSL certificates for the target repo will not be validated}
filename: ${9:# Sets the name of the source list file in sources}
codename: ${10:# Override the distribution codename to use for PPA repositories}
install_python_apt: ${11:# Whether to automatically try to install the Python apt library or not, if it is not already installed}
tags:
- ansible
- builtin
- apt_repository]]></content>
<tabTrigger>ansible.builtin.apt_repository</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
6 changes: 2 additions & 4 deletions ansible.builtin.assemble.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
ansible.builtin.assemble:
src: ${2:# An already existing directory full of source files}
dest: ${3:# A file to create using the concatenation of all of the source files}
backup: ${4:# Create a backup file (if C(yes)), including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly}
backup: ${4:# Create a backup file (if C(true)), including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly}
delimiter: ${5:# A delimiter to separate the file contents}
remote_src: ${6:# If C(no), it will search for src at originating/master machine}
remote_src: ${6:# If C(false), it will search for src at originating/master machine}
regexp: ${7:# Assemble files only if C(regex) matches the filename}
ignore_hidden: ${8:# A boolean that controls if files that start with a '}
validate: ${9:# The validation command to run before copying into place}
Expand All @@ -20,8 +20,6 @@
unsafe_writes: ${18:# Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object}
attributes: ${19:# The attributes the resulting filesystem object should have}
tags:
- ansible
- builtin
- assemble]]></content>
<tabTrigger>ansible.builtin.assemble</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
4 changes: 1 addition & 3 deletions ansible.builtin.assert.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
that: ${2:# A list of string expressions of the same form that can be passed to the 'when' statement}
fail_msg: ${3:# The customized message used for a failing assertion}
success_msg: ${4:# The customized message used for a successful assertion}
quiet: ${5:# Set this to C(yes) to avoid verbose output}
quiet: ${5:# Set this to C(true) to avoid verbose output}
tags:
- ansible
- builtin
- assert]]></content>
<tabTrigger>ansible.builtin.assert</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.async_status.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
jid: ${2:# Job or task identifier}
mode: ${3:# If C(status), obtain the status}
tags:
- ansible
- builtin
- async_status]]></content>
<tabTrigger>ansible.builtin.async_status</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.blockinfile.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
attributes: ${20:# The attributes the resulting filesystem object should have}
validate: ${21:# The validation command to run before copying the updated file into the final destination}
tags:
- ansible
- builtin
- blockinfile]]></content>
<tabTrigger>ansible.builtin.blockinfile</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
4 changes: 1 addition & 3 deletions ansible.builtin.command.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
removes: ${6:# A filename or (since 2}
chdir: ${7:# Change into this directory before running the command}
stdin: ${8:# Set the stdin of the command directly to the specified value}
stdin_add_newline: ${9:# If set to C(yes), append a newline to stdin data}
stdin_add_newline: ${9:# If set to C(true), append a newline to stdin data}
strip_empty_ends: ${10:# Strip empty lines from the end of stdout/stderr in result}
tags:
- ansible
- builtin
- command]]></content>
<tabTrigger>ansible.builtin.command</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.copy.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
attributes: ${21:# The attributes the resulting filesystem object should have}
validate: ${22:# The validation command to run before copying the updated file into the final destination}
tags:
- ansible
- builtin
- copy]]></content>
<tabTrigger>ansible.builtin.copy</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.cron.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
insertafter: ${16:# Used with I(state=present) and I(env)}
insertbefore: ${17:# Used with I(state=present) and I(env)}
tags:
- ansible
- builtin
- cron]]></content>
<tabTrigger>ansible.builtin.cron</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.debconf.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
value: ${5:# Value to set the configuration to}
unseen: ${6:# Do not set 'seen' flag when pre-seeding}
tags:
- ansible
- builtin
- debconf]]></content>
<tabTrigger>ansible.builtin.debconf</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.debug.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
var: ${3:# A variable name to debug}
verbosity: ${4:# A number that controls when the debug is run, if you set to 3 it will only run debug when -vvv or above}
tags:
- ansible
- builtin
- debug]]></content>
<tabTrigger>ansible.builtin.debug</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
10 changes: 4 additions & 6 deletions ansible.builtin.dnf.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
disable_gpg_check: ${8:# Whether to disable the GPG checking of signatures of packages being installed}
installroot: ${9:# Specifies an alternative installroot, relative to which all packages will be installed}
releasever: ${10:# Specifies an alternative release from which all packages will be installed}
autoremove: ${11:# If C(yes), removes all 'leaf' packages from the system that were originally installed as dependencies of user-installed packages but which are no longer required by any such package}
autoremove: ${11:# If C(true), removes all 'leaf' packages from the system that were originally installed as dependencies of user-installed packages but which are no longer required by any such package}
exclude: ${12:# Package name(s) to exclude when state=present, or latest}
skip_broken: ${13:# Skip all unavailable packages or packages with broken dependencies without raising an error}
update_cache: ${14:# Force dnf to check if cache is out of date and redownload if needed}
update_only: ${15:# When using latest, only update installed packages}
security: ${16:# If set to C(yes), and C(state=latest) then only installs updates that have been marked security related}
bugfix: ${17:# If set to C(yes), and C(state=latest) then only installs updates that have been marked bugfix related}
security: ${16:# If set to C(true), and C(state=latest) then only installs updates that have been marked security related}
bugfix: ${17:# If set to C(true), and C(state=latest) then only installs updates that have been marked bugfix related}
enable_plugin: ${18:# I(Plugin) name to enable for the install/update operation}
disable_plugin: ${19:# I(Plugin) name to disable for the install/update operation}
disable_excludes: ${20:# Disable the excludes defined in DNF config files}
Expand All @@ -28,12 +28,10 @@
lock_timeout: ${26:# Amount of time to wait for the dnf lockfile to be freed}
install_weak_deps: ${27:# Will also install all packages linked by a weak dependency relation}
download_dir: ${28:# Specifies an alternate directory to store packages}
allowerasing: ${29:# If C(yes) it allows erasing of installed packages to resolve dependencies}
allowerasing: ${29:# If C(true) it allows erasing of installed packages to resolve dependencies}
nobest: ${30:# Set best option to False, so that transactions are not limited to best candidates only}
cacheonly: ${31:# Tells dnf to run entirely from system cache; does not download or update metadata}
tags:
- ansible
- builtin
- dnf]]></content>
<tabTrigger>ansible.builtin.dnf</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.dpkg_selections.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: ${2:# Name of the package}
selection: ${3:# The selection state to set the package to}
tags:
- ansible
- builtin
- dpkg_selections]]></content>
<tabTrigger>ansible.builtin.dpkg_selections</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.expect.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
timeout: ${7:# Amount of time in seconds to wait for the expected strings}
echo: ${8:# Whether or not to echo out your response strings}
tags:
- ansible
- builtin
- expect]]></content>
<tabTrigger>ansible.builtin.expect</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.fail.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
ansible.builtin.fail:
msg: ${2:# The customized message used for failing execution}
tags:
- ansible
- builtin
- fail]]></content>
<tabTrigger>ansible.builtin.fail</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
4 changes: 1 addition & 3 deletions ansible.builtin.fetch.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
ansible.builtin.fetch:
src: ${2:# The file on the remote system to fetch}
dest: ${3:# A directory to save the file into}
fail_on_missing: ${4:# When set to C(yes), the task will fail if the remote file cannot be read for any reason}
fail_on_missing: ${4:# When set to C(true), the task will fail if the remote file cannot be read for any reason}
validate_checksum: ${5:# Verify that the source and destination checksums match after the files are fetched}
flat: ${6:# Allows you to override the default behavior of appending hostname/path/to/file to the destination}
tags:
- ansible
- builtin
- fetch]]></content>
<tabTrigger>ansible.builtin.fetch</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.file.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
unsafe_writes: ${19:# Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object}
attributes: ${20:# The attributes the resulting filesystem object should have}
tags:
- ansible
- builtin
- file]]></content>
<tabTrigger>ansible.builtin.file</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
10 changes: 4 additions & 6 deletions ansible.builtin.find.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
recurse: ${9:# If target is a directory, recursively descend into the directory looking for files}
size: ${10:# Select files whose size is equal to or greater than the specified size}
age_stamp: ${11:# Choose the file property against which we compare age}
hidden: ${12:# Set this to C(yes) to include hidden files, otherwise they will be ignored}
follow: ${13:# Set this to C(yes) to follow symlinks in path for systems with python 2}
get_checksum: ${14:# Set this to C(yes) to retrieve a file's SHA1 checksum}
use_regex: ${15:# If C(no), the patterns are file globs (shell)}
hidden: ${12:# Set this to C(true) to include hidden files, otherwise they will be ignored}
follow: ${13:# Set this to C(true) to follow symlinks in path for systems with python 2}
get_checksum: ${14:# Set this to C(true) to retrieve a file's SHA1 checksum}
use_regex: ${15:# If C(false), the patterns are file globs (shell)}
depth: ${16:# Set the maximum number of levels to descend into}
tags:
- ansible
- builtin
- find]]></content>
<tabTrigger>ansible.builtin.find</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
2 changes: 0 additions & 2 deletions ansible.builtin.gather_facts.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
ansible.builtin.gather_facts:
parallel: ${2:# A toggle that controls if the fact modules are executed in parallel or serially and in order}
tags:
- ansible
- builtin
- gather_facts]]></content>
<tabTrigger>ansible.builtin.gather_facts</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
8 changes: 3 additions & 5 deletions ansible.builtin.get_url.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
url: ${4:# HTTP, HTTPS, or FTP URL in the form (http|https|ftp)://[user[:pass]]@host}
dest: ${5:# Absolute path of where to download the file to}
tmp_dest: ${6:# Absolute path of where temporary file is downloaded to}
force: ${7:# If C(yes) and C(dest) is not a directory, will download the file every time and replace the file if the contents change}
force: ${7:# If C(true) and C(dest) is not a directory, will download the file every time and replace the file if the contents change}
backup: ${8:# Create a backup file including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly}
checksum: ${9:# If a checksum is passed to this parameter, the digest of the destination file will be calculated after it is downloaded to ensure its integrity and verify that the transfer completed successfully}
use_proxy: ${10:# if C(no), it will not use a proxy, even if one is defined in an environment variable on the target hosts}
validate_certs: ${11:# If C(no), SSL certificates will not be validated}
use_proxy: ${10:# if C(false), it will not use a proxy, even if one is defined in an environment variable on the target hosts}
validate_certs: ${11:# If C(false), SSL certificates will not be validated}
timeout: ${12:# Timeout in seconds for URL request}
headers: ${13:# Add custom HTTP headers to a request in hash/dict format}
url_username: ${14:# The username for use in HTTP basic authentication}
Expand All @@ -32,8 +32,6 @@
unsafe_writes: ${30:# Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object}
attributes: ${31:# The attributes the resulting filesystem object should have}
tags:
- ansible
- builtin
- get_url]]></content>
<tabTrigger>ansible.builtin.get_url</tabTrigger>
<scope>source.yaml,source.ansible</scope>
Expand Down
Loading

0 comments on commit 058ca01

Please sign in to comment.