12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- - name: install neovim
- apt: name=neovim state=present
- tags: 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 zsh
- 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: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- #- name: neovim plug
- #shell: sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.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
- - name: install cmake
- apt: name=cmake state=present
- become: true
-
- - name: libpqxx
- shell: |
- mkdir /tmp/libpqxx
- cd /tmp/libpqxx
- git clone https://github.com/jtv/libpqxx
- cd libpqxx
-
-
- - name: add yarn
- shell: |
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt update && sudo apt install --no-install-recommends yarn
- become: true
-
- - name: add nvm
- shell: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
- #- name: add vscode repo
- #shell: wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg && sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/ && sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
- #become: true
-
- #- name: install vscode
- #shell: sudo apt-get install -y code
- #become: true
-
- #- name: build tools
- #apt: build-essential libgl1-mesa-dev
- #become: true
- #- name: qt
- #apt: qt5-default
- #become: true
- #- name: download telegram
- #shell: |
- #wget -O- https://telegram.org/dl/desktop/linux | sudo tar xJ -C /opt/
- #- name: link telegram
- #shell: |
- #sudo ln -s /opt/Telegram/Telegram /usr/local/bin/telegram-desktop
|