perf: playbook specific

pull/9013/head
feng 2022-11-02 19:25:39 +08:00
parent cb57ae104b
commit 651c7ca152
6 changed files with 8 additions and 8 deletions

View File

@ -10,7 +10,7 @@
login_password: "{{ jms_account.secret }}" login_password: "{{ jms_account.secret }}"
login_host: "{{ jms_asset.address }}" login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}" login_port: "{{ jms_asset.port }}"
login_db: "{{ jms_asset.category_property.db_name }}" login_db: "{{ jms_asset.specific.db_name }}"
register: db_info register: db_info
- name: Display PostgreSQL version - name: Display PostgreSQL version
@ -24,7 +24,7 @@
login_password: "{{ jms_account.secret }}" login_password: "{{ jms_account.secret }}"
login_host: "{{ jms_asset.address }}" login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}" login_port: "{{ jms_asset.port }}"
db: "{{ jms_asset.category_property.db_name }}" db: "{{ jms_asset.specific.db_name }}"
name: "{{ account.username }}" name: "{{ account.username }}"
password: "{{ account.secret }}" password: "{{ account.secret }}"
when: db_info is succeeded when: db_info is succeeded
@ -36,7 +36,7 @@
login_password: "{{ account.secret }}" login_password: "{{ account.secret }}"
login_host: "{{ jms_asset.address }}" login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}" login_port: "{{ jms_asset.port }}"
db: "{{ jms_asset.category_property.db_name }}" db: "{{ jms_asset.specific.db_name }}"
when: when:
- db_info is succeeded - db_info is succeeded
- change_info is succeeded - change_info is succeeded

View File

@ -10,7 +10,7 @@
login_password: "{{ jms_account.secret }}" login_password: "{{ jms_account.secret }}"
login_host: "{{ jms_asset.address }}" login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}" login_port: "{{ jms_asset.port }}"
login_db: "{{ jms_asset.category_property.db_name }}" login_db: "{{ jms_asset.specific.db_name }}"
filter: "roles" filter: "roles"
register: db_info register: db_info

View File

@ -10,7 +10,7 @@
login_password: "{{ jms_account.secret }}" login_password: "{{ jms_account.secret }}"
login_host: "{{ jms_asset.address }}" login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}" login_port: "{{ jms_asset.port }}"
login_db: "{{ jms_asset.category_property.db_name }}" login_db: "{{ jms_asset.specific.db_name }}"
register: db_info register: db_info
- name: Define info by set_fact - name: Define info by set_fact

View File

@ -10,4 +10,4 @@
login_password: "{{ jms_account.secret }}" login_password: "{{ jms_account.secret }}"
login_host: "{{ jms_asset.address }}" login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}" login_port: "{{ jms_asset.port }}"
login_db: "{{ jms_asset.category_property.db_name }}" login_db: "{{ jms_asset.specific.db_name }}"

View File

@ -10,7 +10,7 @@
login_password: "{{ jms_account.secret }}" login_password: "{{ jms_account.secret }}"
login_host: "{{ jms_asset.address }}" login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}" login_port: "{{ jms_asset.port }}"
db: "{{ jms_asset.category_property.db_name }}" db: "{{ jms_asset.specific.db_name }}"
name: "{{ account.username }}" name: "{{ account.username }}"
password: "{{ account.secret }}" password: "{{ account.secret }}"

View File

@ -10,4 +10,4 @@
login_password: "{{ account.secret }}" login_password: "{{ account.secret }}"
login_host: "{{ jms_asset.address }}" login_host: "{{ jms_asset.address }}"
login_port: "{{ jms_asset.port }}" login_port: "{{ jms_asset.port }}"
db: "{{ jms_asset.category_property.db_name }}" db: "{{ jms_asset.specific.db_name }}"