The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

40 righe
815 B

  1. #
  2. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  3. #
  4. - name: Set hostname to {{ hostname }}
  5. hostname:
  6. name: '{{ hostname }}'
  7. - name: Update packages
  8. apt:
  9. update_cache: yes
  10. - name: Remove ufw
  11. apt:
  12. name: ufw
  13. state: absent
  14. update_cache: yes
  15. - name: Upgrade packages
  16. apt:
  17. update_cache: yes
  18. upgrade: yes
  19. - name: Install common packages
  20. apt:
  21. name: [ 'ntp', 'unzip', 'safe-rm', 'supervisor', 'emacs-nox', 'screen', 'xtail', 'fail2ban' ]
  22. state: present
  23. update_cache: yes
  24. - name: Install screenrc file
  25. copy:
  26. src: dot-screenrc
  27. dest: /root/.screenrc
  28. - name: Start common services
  29. service:
  30. name: '{{ item }}'
  31. state: restarted
  32. with_items:
  33. - fail2ban