選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

access.yml 822B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ---
  2. - name: nextcloud directory
  3. file:
  4. path: /var/www/nextcloud
  5. state: directory
  6. owner: root
  7. group: www-data
  8. mode: 0750
  9. - name: nextcloud subdirectories
  10. file:
  11. path: /var/www/nextcloud/{{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 data directory
  22. file:
  23. path: "{{nextcloud_data_directory}}"
  24. state: directory
  25. owner: www-data
  26. group: www-data
  27. recurse: yes
  28. - name: nextcloud log directory
  29. file:
  30. path: /var/log/nextcloud
  31. state: directory
  32. owner: www-data
  33. group: www-data
  34. - name: nextcloud htaccess webserver access
  35. file:
  36. path: /var/www/nextcloud/.htaccess
  37. state: file
  38. owner: www-data
  39. group: www-data
  40. state: touch