mirror of https://github.com/jumpserver/jumpserver
parent
90131db55a
commit
39baf88055
|
@ -31,6 +31,7 @@
|
|||
role_attr_flags: LOGIN
|
||||
ignore_errors: true
|
||||
when: result is succeeded
|
||||
register: change_info
|
||||
|
||||
- name: Verify password
|
||||
community.postgresql.postgresql_ping:
|
||||
|
@ -42,3 +43,5 @@
|
|||
when:
|
||||
- result is succeeded
|
||||
- change_info is succeeded
|
||||
register: result
|
||||
failed_when: not result.is_available
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
vars:
|
||||
ansible_python_interpreter: /usr/local/bin/python
|
||||
|
||||
|
||||
tasks:
|
||||
- name: Verify account
|
||||
community.postgresql.postgresql_ping:
|
||||
|
|
Loading…
Reference in New Issue