From 51190f66be5812f947ff2693aefe7bfa10ecfc6c Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Mon, 12 Jun 2023 13:27:54 +0100 Subject: [PATCH] zabbix: debug args to shell command Signed-off-by: David Kirwan --- roles/zabbix/zabbix_server/tasks/db.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/roles/zabbix/zabbix_server/tasks/db.yml b/roles/zabbix/zabbix_server/tasks/db.yml index 83f5df1306..eabc764f60 100644 --- a/roles/zabbix/zabbix_server/tasks/db.yml +++ b/roles/zabbix/zabbix_server/tasks/db.yml @@ -24,15 +24,13 @@ send "{{ zabbix_db_pass }}\n" exit 0 - args: - executable: /usr/bin/expect +# no_log: True tags: - db-configure - name: Configure the zabbix db ansible.builtin.shell: "sudo -u postgres createdb -O {{ zabbix_db_user }} {{ zabbix_db_name }}" - args: - executable: /bin/bash +# no_log: True tags: - db-configure