Skip to content

Instantly share code, notes, and snippets.

@Fusion
Last active October 5, 2020 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fusion/c45fdd8857c84440d55f to your computer and use it in GitHub Desktop.
Save Fusion/c45fdd8857c84440d55f to your computer and use it in GitHub Desktop.
Ansible playbook to provision your new Atom setup with your favorite plugins (exported using 'apm list -ip') -- run atom-packages.yml
- set_fact: pkgname="{{item}}"
- name: Check whether package '{{item}}' already installed
shell: "apm list -ip | grep '{{item}}@' | wc -l"
register: installed
- name: Install '{{item}}' if necessary
shell: "apm install {{item}}"
when: installed.stdout=="0"
- name: Installing missing Atom packages
hosts: local
vars_files:
- req-packages.yml
tasks:
- include: atom-one-package.yml
with_items: "{{req_packages}}"
[local]
localhost ansible_connection=local
---
req_packages:
- change-tabs
- expose
- linter-crystal
- split-diff
- tidy-tabs
- advanced-open-file
- color-picker
- file-icons
- merge-conflicts
- stash-tabs
- todo-show
- aligner
- color-tabs
- git-blame
- minimap
- swackets
- tool-bar
- ask-stack
- crystal-block
- git-plus
- open-recent
- symbols-tree-view
- tool-bar-almighty
- atom-commander
- crystal-tools
- highlight-line
- pinned-tabs
- sync-settings
- vim-mode
- atom-ctags
- custom-invisibles
- highlight-selected
- project-manager
- tab-numbers
- atom-ungit
- docblockr
- language-crystal-actual
- redui-jm-syntax
- tab-switcher
- autocomplete-ctags
- ex-mode
- linter
- regex-railroad-diagram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment