您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

63 行
1.2KB

  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. - custom_apps
  22. - name: nextcloud lib directory
  23. file:
  24. path: "{{nextcloud_lib_directory}}"
  25. state: directory
  26. owner: www-data
  27. group: www-data
  28. mode: 0750
  29. - name: nextcloud data directory
  30. file:
  31. path: "{{nextcloud_data_directory}}"
  32. state: directory
  33. owner: www-data
  34. group: www-data
  35. mode: 0750
  36. recurse: yes
  37. - name: nextcloud log directory
  38. file:
  39. path: "{{nextcloud_log_directory}}"
  40. state: directory
  41. owner: www-data
  42. group: www-data
  43. - name: nextcloud backup directory
  44. file:
  45. path: "{{nextcloud_backup_directory}}"
  46. state: directory
  47. owner: root
  48. group: root
  49. mode: 0700
  50. - name: nextcloud htaccess webserver access
  51. file:
  52. path: "{{nextcloud_directory}}/.htaccess"
  53. state: file
  54. owner: www-data
  55. group: www-data