Added no_log

This commit is contained in:
2025-08-15 23:18:44 +02:00
parent cb2b9462e1
commit 5b64b47754
4 changed files with 7 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
docker exec --user root {{ wordpress_container }}
sed -i "s/define(\s*'DB_PASSWORD'\s*,\s*'[^']*'\s*);/define( 'DB_PASSWORD', '{{ database_password }}' );/i" {{ wordpress_docker_conf_path }}
notify: docker compose restart
no_log: "{{ MASK_CREDENTIALS_IN_LOGS | bool }}"
- name: "Flush handlers to reinitialize new database credentials"
meta: flush_handlers