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.

14 lines
297B

  1. ---
  2. - name: nextcloud occ
  3. command: php occ {{item}}
  4. with_items:
  5. - config:system:set trusted_domains 1 --value={{inventory_hostname}}
  6. - maintenance:update:htaccess
  7. - background:cron
  8. args:
  9. chdir: /var/www/nextcloud
  10. become: true
  11. become_user: www-data
  12. become_method: sudo