123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- ---
- - name: install neovim
- apt: name=neovim state=present
- tags: neovim
- become: true
- - name: install neovim python client
- pip: name=neovim
- tags: python neovim
- become: true
- - name: create vim symlink to nvim
- file: src=/usr/bin/nvim dest=/usr/bin/vim state=link
- become: true
- - name: create vi symlink to vim
- file: src=/usr/bin/vim dest=/usr/bin/vi state=link
- become: true
- - name: install zsh shell
- apt: name=zsh state=present
- tags: zsh
- become: true
- - name: switch default shell to fish
- shell: chsh -s /usr/bin/zsh
- tags: shellchange
- become: true
- - name: clone oh-my-zsh
- get_url:
- url: https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh
- dest: /tmp/zsh_install.sh
- mode: 0774
- - name: install oh-my-zsh
- shell: /tmp/zsh_install.sh --noninteractive
- ignore_errors: true
- async: 10
- poll: 1
- - name: neovim plug
- shell: |
- curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
- https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- - name: install postgres
- apt: name=postgresql state=present
- become: true
- - name: install libpq
- apt: name=libpq-dev state=present
- become: true
- - name: install libpqxx
- apt: name=libpqxx-dev state=present
- become: true
|