fixed edge-case
This commit is contained in:
parent
c852b82324
commit
c6e6f2a756
|
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
- name: ZoneMinder | Debian | Pulling existing database password
|
- name: ZoneMinder | Debian | Pulling existing database password
|
||||||
ansible.builtin.shell:
|
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
|
register: zm_db_pwd
|
||||||
when: zm_db_cnf_file.stat.exists
|
when: zm_db_cnf_file.stat.exists
|
||||||
check_mode: false
|
check_mode: false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue