Skip to content

bammab/vscode-snippets-for-ansible

Repository files navigation

Snippets for Ansible

I used long time the VSCode ansible extension which was retired at the end of \2020. Missing the snippets I build them by myself based on the script of that old extension and the new parser script of the atom autocomplete extension for ansible.

Features

Provide snippets for most modules of ansible. Just press Ctrl+SPACE to get the list of all snippets.

For example if you want to use blockinfile type block and press Ctrl+SPACE, select the entry blockinfile_snippet and press ENTER.

Usage example

Tip: Using TAB you can jump to the defined placholder and select from fixed choices if available.

Requirements

Document language need to be set to YAML.

Known issues

If the snippets doesn't load after install, try to reload your VS Code.

Release Notes

1.1.0

1.0.1

  • Add keyword for easier search on markplaces
  • Add licence to meta data

1.0.0

Initial public release of this extension. Snippets build for/with ansible v2.9.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages