mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Switch from lineinfile to ini_file
lineinfile was really struggling to handle a k/v value with "=" in it. ini_file is built for precisely this file format and handles the issue effortlessly.
This commit is contained in:
parent
7fb4bdde88
commit
424f15c4d2
1 changed files with 4 additions and 3 deletions
|
@ -212,10 +212,11 @@
|
|||
group: "{{ apache_user }}"
|
||||
|
||||
- name: Don't Check for Trusted Host
|
||||
ansible.builtin.lineinfile:
|
||||
ini_file:
|
||||
path: "{{ matomo_path }}/matomo/config/config.ini.php"
|
||||
line: "enable_trusted_host_check\=0"
|
||||
insertafter: "^\[General\]$"
|
||||
section: General
|
||||
option: enable_trusted_host_check
|
||||
value: 0
|
||||
|
||||
# RECORD Matomo AS INSTALLED
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue