packages.yml 900 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ---
  2. - name: EPEL release
  3. yum: "name={{ item }} state=latest disable_gpg_check=yes"
  4. with_items:
  5. - epel-release
  6. tags: systembase
  7. when: ansible_distribution == 'CentOS'
  8. #- name: rebuild the yum cache
  9. # command: yum makecache
  10. - name: yum base tools
  11. yum: "name={{ item }} state=latest disable_gpg_check=yes"
  12. with_items:
  13. - atop
  14. - lrzsz
  15. - net-tools
  16. - python-pip
  17. - vim
  18. - redhat-lsb-core
  19. tags: systembase
  20. when: ansible_distribution == 'CentOS'
  21. - name: apt base tools
  22. apt: "name={{ item }} state=latest"
  23. with_items:
  24. - atop
  25. - lrzsz
  26. - python-pip
  27. - vim
  28. - unzip
  29. - build-essential
  30. - libreadline-dev
  31. - libncurses5-dev
  32. - libpcre3
  33. - libpcre3-dev
  34. - libssl-dev
  35. - zlib1g-dev
  36. - git
  37. - perl
  38. - make
  39. - libjemalloc1
  40. - libjemalloc-dev
  41. - daemon
  42. tags: systembase
  43. when: ansible_distribution == 'Ubuntu'