main.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. ---
  2. - name: install nginx
  3. pacman: name=nginx state=present
  4. tags: nginx
  5. become: true
  6. - name: install gcc
  7. pacman: name=gcc state=present
  8. tags: gcc
  9. become: true
  10. - name: install python-pip
  11. pacman: name=python-pip state=present
  12. tags: python-pip python pip
  13. become: true
  14. - name: install zsh
  15. pacman: name=zsh state=present
  16. tags: zsh
  17. become: true
  18. - name: switch default shell to zsh
  19. shell: chsh -s /usr/bin/zsh
  20. tags: shellchange
  21. become: true
  22. - name: install neovim
  23. pacman: name=neovim
  24. tags: neovim
  25. become: true
  26. - name: install pynvim python client
  27. pip: name=pynvim
  28. tags: python neovim pynvim
  29. - name: Move vi
  30. command: mv /usr/bin/vi /usr/bin/oldvi
  31. become: true
  32. - name: Move vim
  33. command: mv /usr/bin/vim /usr/bin/oldvim
  34. become: true
  35. - name: create vim symlink to nvim
  36. file: src=/usr/bin/nvim dest=/usr/bin/vim state=link
  37. become: true
  38. - name: create vi symlink to vim
  39. file: src=/usr/bin/vim dest=/usr/bin/vi state=link
  40. become: true
  41. - name: install nodejs
  42. pacman: name=nodejs state=present
  43. tags: nodejs
  44. become: true
  45. - name: install npm
  46. pacman: name=npm state=present
  47. tags: npm
  48. become: true
  49. - name: install git
  50. pacman: name=git state=present
  51. tags: git
  52. become: true
  53. - name: install postgres
  54. pacman: name=postgresql state=present
  55. tags: postgres
  56. become: true
  57. - name: install postgresql-libs
  58. pacman: name=postgresql-libs state=present
  59. tags: postgresql-libs libpq
  60. become: true
  61. - name: install make
  62. pacman: name=make state=present
  63. tags: mmake
  64. become: true
  65. - name: install cmake
  66. pacman: name=cmake state=present
  67. tags: cmake
  68. become: true
  69. - name: install ninja
  70. pacman: name=ninja state=present
  71. tags: ninja
  72. become: true
  73. - name: install gn
  74. pacman: name=gn state=present
  75. tags: gn
  76. become: true
  77. - name: install zeromq
  78. pacman: name=zeromq state=present
  79. tags: zeromq
  80. become: true
  81. - name: install yarn
  82. community.general.npm: name=yarn global=yes
  83. tags: yarn
  84. become: true
  85. - name: install flatbuffers
  86. pacman: name=flatbuffers state=present
  87. tags: flatbuffers
  88. become: true