fixed pipefail usage
This commit is contained in:
parent
d3c95f2f93
commit
0977fa5fe4
|
|
@ -64,6 +64,8 @@
|
|||
ansible.builtin.shell: |
|
||||
set -o pipefail
|
||||
cat /etc/zm/conf.d/custom_db.conf | grep 'ZM_DB_PASS' | cut -d '=' -f2-
|
||||
args:
|
||||
executable: '/bin/bash'
|
||||
register: zm_db_pwd
|
||||
when: zm_db_cnf_file.stat.exists
|
||||
check_mode: false
|
||||
|
|
|
|||
|
|
@ -36,13 +36,13 @@
|
|||
ansible.builtin.shell: |
|
||||
set -o pipefail
|
||||
timedatectl | grep 'Time zone' | cut -d':' -f2 | cut -d' ' -f2
|
||||
args:
|
||||
executable: '/bin/bash'
|
||||
register: controller_tz
|
||||
delegate_to: localhost
|
||||
changed_when: false
|
||||
check_mode: false
|
||||
become: false
|
||||
args:
|
||||
executable: '/bin/bash'
|
||||
when: ZM_CONFIG.timezone in NONE_VALUES
|
||||
|
||||
- name: ZoneMinder | Webserver | Configuring php timezone to locally used one
|
||||
|
|
|
|||
Loading…
Reference in New Issue