From 07e4b96d0ffde4cbc9ac9396d54d3f8ec662caf0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 2 Jul 2024 21:50:09 +0200 Subject: [PATCH] Rename file --- ...tom-server-token.conf => custom-server-tokens.conf} | 0 scripts/ansible/launch_install_check.yml | 10 ++++++++++ scripts/desktop_config_dolibarr.sh | 4 +++- scripts/desktop_config_sellyoursaas.sh | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) rename etc/apache2/conf-available/{custom-server-token.conf => custom-server-tokens.conf} (100%) diff --git a/etc/apache2/conf-available/custom-server-token.conf b/etc/apache2/conf-available/custom-server-tokens.conf similarity index 100% rename from etc/apache2/conf-available/custom-server-token.conf rename to etc/apache2/conf-available/custom-server-tokens.conf diff --git a/scripts/ansible/launch_install_check.yml b/scripts/ansible/launch_install_check.yml index cc12c7489..4c5bb3e6c 100644 --- a/scripts/ansible/launch_install_check.yml +++ b/scripts/ansible/launch_install_check.yml @@ -1117,6 +1117,16 @@ state: absent + - name: Set an Apache config file to hide the version + ignore_errors: true + ansible.builtin.template: + src: ../../etc/apache2/conf-available/custom-server-token.conf + dest: /etc/apache2/conf-available/custom-server-token.conf + owner: root + group: root + mode: '0644' + + - name: Set datadog config files /etc/datadog-agent/conf.d/disk.d/conf.yaml ignore_errors: true ansible.builtin.template: diff --git a/scripts/desktop_config_dolibarr.sh b/scripts/desktop_config_dolibarr.sh index 270215898..b2823fbb9 100755 --- a/scripts/desktop_config_dolibarr.sh +++ b/scripts/desktop_config_dolibarr.sh @@ -1,7 +1,9 @@ #!/bin/bash #---------------------------------------------------------------- -# This script allows to update or fix the Dolibarr config file +# This script allows to update or fix the Dolibarr config file saved as: # /home/admin/wwwroot/dolibarr/htdocs/conf/conf.php +# +# It does not support config files of deployed instances. #---------------------------------------------------------------- diff --git a/scripts/desktop_config_sellyoursaas.sh b/scripts/desktop_config_sellyoursaas.sh index 349b5060b..1e62b7279 100755 --- a/scripts/desktop_config_sellyoursaas.sh +++ b/scripts/desktop_config_sellyoursaas.sh @@ -1,6 +1,6 @@ #!/bin/bash #---------------------------------------------------------------- -# This script allows to update or fix the SellYourSaas config files +# This script allows to update or fix the SellYourSaas config files saved as: # /etc/sellyoursaas.conf OR the /etc/sellyoursaas-public.conf #----------------------------------------------------------------