25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- ---
-
- - block:
-
- - name: nextcloud list config
- command: php occ config:list
- args:
- chdir: "{{nextcloud_directory}}"
- register: _nextcloud_config_cmd
- changed_when: false
-
- - name: nextcloud occ config:app:delete trusted_domains
- command: php occ config:system:delete trusted_domains
- args:
- chdir: "{{nextcloud_directory}}"
- when: _nextcloud_config.system.trusted_domains != nextcloud_server_names
-
- - name: nextcloud occ config:system:set trusted_domains
- command: php occ config:system:set trusted_domains {{ item.0 }} --value={{ item.1 }}
- args:
- chdir: "{{nextcloud_directory}}"
- with_indexed_items: "{{ nextcloud_server_names }}"
- when: _nextcloud_config.system.trusted_domains != nextcloud_server_names
-
- - name: nextcloud occ maintenance:update:htaccess
- command: php occ maintenance:update:htaccess
- args:
- chdir: "{{nextcloud_directory}}"
-
- - name: nextcloud occ background:cron
- command: php occ background:cron
- args:
- chdir: "{{nextcloud_directory}}"
-
- become: true
- become_user: www-data
- become_method: sudo
|