No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 955B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ---
  2. # Defines tasks applicable across all machines in the infrastructure.
  3. - name: Install necessities and nice-to-haves
  4. apt: pkg=$item state=installed
  5. with_items:
  6. - sudo
  7. - vim
  8. - htop
  9. - iftop
  10. - iotop
  11. - mosh
  12. - zsh
  13. - git
  14. - ruby1.9.3
  15. - screen
  16. - apache2
  17. - build-essential
  18. - apticron
  19. - update-notifier-common
  20. - debian-goodies
  21. - name: Install ntp
  22. apt: pkg=ntp state=installed
  23. - name: Configure ntp
  24. template: src=ntp.conf.j2 dest=/etc/ntp.conf
  25. notify:
  26. - restart ntp
  27. - name: Ensure ntpd is running and enabled
  28. service: name=ntp state=started enabled=yes
  29. - name: Disable default Apache site
  30. command: a2dissite default removes=/etc/apache2/sites-enabled/default
  31. notify: restart apache
  32. - include: encfs.yml tags=encfs
  33. - include: users.yml tags=users
  34. - include: ssl.yml tags=ssl
  35. - include: ferm.yml tags=ferm
  36. - include: security.yml tags=security
  37. - include: tarsnap.yml tags=tarsnap