perf: automations push ping verify

This commit is contained in:
feng
2022-10-28 18:28:41 +08:00
parent 994a484adb
commit 121ba1df07
43 changed files with 339 additions and 157 deletions

View File

@@ -2,16 +2,6 @@
gather_facts: no
vars:
ansible_python_interpreter: /usr/local/bin/python
jms_account:
username: postgre
secret: postgre
jms_asset:
address: 127.0.0.1
port: 5432
database: testdb
account:
username: test
secret: jumpserver
tasks:
- name: Test PostgreSQL connection
@@ -20,4 +10,4 @@
login_password: "{{ jms_account.secret }}"
login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}"
login_db: "{{ jms_asset.database }}"
login_db: "{{ jms_asset.category_property.db_name }}"