From c6e6f2a756459c3cc287301c0c410fdc9133dc40 Mon Sep 17 00:00:00 2001 From: AnsibleGuy Date: Tue, 16 Aug 2022 22:22:20 +0200 Subject: [PATCH] fixed edge-case --- tasks/debian/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/debian/main.yml b/tasks/debian/main.yml index 09484e1..728af35 100644 --- a/tasks/debian/main.yml +++ b/tasks/debian/main.yml @@ -62,7 +62,7 @@ - name: ZoneMinder | Debian | Pulling existing database password ansible.builtin.shell: - cmd: "cat /etc/zm/conf.d/custom_db.conf | grep 'ZM_DB_PASS' | cut -d '=' -f2" + cmd: "cat /etc/zm/conf.d/custom_db.conf | grep 'ZM_DB_PASS' | cut -d '=' -f2-" register: zm_db_pwd when: zm_db_cnf_file.stat.exists check_mode: false