Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

70 rindas
1.3KB

  1. ---
  2. - name: nextcloud directory
  3. file:
  4. path: "{{nextcloud_directory}}"
  5. state: directory
  6. owner: root
  7. group: www-data
  8. mode: 0750
  9. - name: nextcloud subdirectories
  10. file:
  11. path: "{{nextcloud_directory}}/{{item}}"
  12. state: directory
  13. owner: www-data
  14. group: www-data
  15. recurse: yes
  16. with_items:
  17. - config
  18. - apps
  19. - themes
  20. - updater
  21. - name: nextcloud custom apps directory
  22. file:
  23. path: "{{nextcloud_directory}}/custom_apps"
  24. state: directory
  25. owner: www-data
  26. group: www-data
  27. mode: 0750
  28. - name: nextcloud lib directory
  29. file:
  30. path: "{{nextcloud_lib_directory}}"
  31. state: directory
  32. owner: www-data
  33. group: www-data
  34. mode: 0750
  35. - name: nextcloud data directory
  36. file:
  37. path: "{{nextcloud_data_directory}}"
  38. state: directory
  39. owner: www-data
  40. group: www-data
  41. mode: 0750
  42. recurse: yes
  43. - name: nextcloud log directory
  44. file:
  45. path: "{{nextcloud_log_directory}}"
  46. state: directory
  47. owner: www-data
  48. group: www-data
  49. - name: nextcloud backup directory
  50. file:
  51. path: "{{nextcloud_backup_directory}}"
  52. state: directory
  53. owner: root
  54. group: root
  55. mode: 0700
  56. - name: nextcloud htaccess webserver access
  57. file:
  58. path: "{{nextcloud_directory}}/.htaccess"
  59. state: file
  60. owner: www-data
  61. group: www-data