This collection includes Ansible roles and content to help with editor automation.
Roles included in this collection:
orjangj.editors.vscode
(documentation)orjangj.editors.vim
(documentation)
Install this collection locally:
ansible-galaxy collection install orjangj.editors -p ./collections
Use the roles from the collection in your playbooks:
---
- hosts: all
roles:
- role: orjangj.editors.vscode
vars:
vscode_user_settings: "{{ playbook_dir }}/files/vscode-settings.json"
vscode_extensions:
- ms-azuretools.vscode-docker
- ms-python.python
- role: orjangj.editors.vim
vars:
vim_version: "HEAD"
vim_extra_packages:
- "make"
- "clang"
- "libtool-bin"
- "python3-dev"
vim_extra_features:
- "--enable-python3interp"
vim_dotfiles:
- "{{ playbook_dir }}/files/.vimrc"
vim_plugin_autoremove: true
vim_plugin_autoupdate: true
vim_plugin_install:
- { name: "junegunn/fzf", type: "start", hook: "./install --all" }
- { name: "junegunn/fzf.vim", type: "start" }
- { name: "ycm-core/YouCompleteMe", type: "start", hook: "./install.py" }
See role documentation for more detailed usage of each role.
MIT