Skip to content

Commit

Permalink
roles/icingaweb2/tasks/manage_icingaweb_pgsql_db.yml: run pqslcmd wit…
Browse files Browse the repository at this point in the history
…h LANG=C to ensure the output is in english and we can match for '(0 rows)' in the next task
  • Loading branch information
Johannes Kastl committed Dec 7, 2023
1 parent 2b3a42b commit d1bf10f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/icingaweb2/tasks/manage_icingaweb_pgsql_db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
block:
- name: PostgreSQL check for icingaweb admin user
ansible.builtin.shell: >
LANG=C
{{ _tmp_pgsqlcmd }}
-w -c "select name from icingaweb_user where name like '{{ icingaweb2_admin_username }}'"
failed_when: false
Expand Down

0 comments on commit d1bf10f

Please sign in to comment.