mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 20:39:40 +01:00
Uncommented code
This commit is contained in:
parent
8afb2a3b84
commit
ba49c2a840
@ -6,26 +6,28 @@
|
|||||||
notify:
|
notify:
|
||||||
- docker compose restart
|
- docker compose restart
|
||||||
|
|
||||||
- name: "Ensure 'overwriteprotocol' is set to 'https' in Nextcloud {{ nextcloud_config_file_path }}"
|
#- name: Ensure 'overwriteprotocol' is set to 'https' in Nextcloud {{ nextcloud_config_file_path }}
|
||||||
block:
|
# block:
|
||||||
- name: Check if 'overwriteprotocol' is already set
|
# Deactivated because it was really heavy to fix.
|
||||||
lineinfile:
|
# @todo implement
|
||||||
path: "{{ nextcloud_config_file_path }}"
|
# - name: Check if 'overwriteprotocol' is already set
|
||||||
regexp: "^\s*'overwriteprotocol'\s*=>\s*'http'"
|
# lineinfile:
|
||||||
line: "'overwriteprotocol' => 'https',"
|
# path: "{{ nextcloud_config_file_path }}"
|
||||||
backrefs: yes
|
# regexp: "^\s*overwriteprotocol\s*=>\s*http"
|
||||||
state: present
|
# line: "overwriteprotocol => 'https',"
|
||||||
notify:
|
# backrefs: yes
|
||||||
- docker compose restart
|
# state: present
|
||||||
|
# notify:
|
||||||
- name: Add 'overwriteprotocol' => 'https' if not present
|
# - docker compose restart
|
||||||
lineinfile:
|
#
|
||||||
path: "{{ nextcloud_config_file_path }}"
|
# - name: Add 'overwriteprotocol' => 'https' if not present
|
||||||
regexp: "^\s*\);$"
|
# lineinfile:
|
||||||
line: "'overwriteprotocol' => 'https',"
|
# path: "{{ nextcloud_config_file_path }}"
|
||||||
insertafter: "^\s*\);$"
|
# regexp: "^\s*\);$"
|
||||||
state: present
|
# line: "overwriteprotocol => 'https',"
|
||||||
notify:
|
# insertafter: "^\s*\);$"
|
||||||
- docker compose restart
|
# state: present
|
||||||
notify:
|
# notify:
|
||||||
- docker compose restart
|
# - docker compose restart
|
||||||
|
# notify:
|
||||||
|
# - docker compose restart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user