Brak opisu
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 902B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. - encfs
  15. - libfuse-dev
  16. - fuse-utils
  17. - ruby1.9.3
  18. - screen
  19. - apache2
  20. - build-essential
  21. - apticron
  22. - update-notifier-common
  23. - debian-goodies
  24. - name: Install ntp
  25. apt: pkg=ntp state=installed
  26. - name: Configure ntp
  27. template: src=ntp.conf.j2 dest=/etc/ntp.conf
  28. notify:
  29. - restart ntp
  30. - name: Ensure ntpd is running and enabled
  31. service: name=ntp state=running enabled=yes
  32. - name: Disable default Apache site
  33. command: a2dissite default
  34. - include: users.yml tags=users
  35. - include: ssl.yml tags=ssl
  36. - include: ferm.yml tags=ferm
  37. - include: security.yml tags=security
  38. - include: tarsnap.yml tags=tarsnap