main.yaml 412 B

1234567891011121314151617181920212223
  1. ---
  2. - name: Install required packages
  3. package: name={{ item }} state=latest
  4. with_items:
  5. - vim
  6. - nano
  7. - htop
  8. - python3
  9. - python3-pip
  10. - acl
  11. - bash-completion
  12. - python3-apt
  13. - name: install debian specific packages
  14. package: name={{ item }} state=latest
  15. when: ansible_distribution == 'Debian'
  16. with_items:
  17. - lsb-release
  18. - build-essential
  19. - unattended-upgrades