mirror of https://github.com/jumpserver/jumpserver
fix: set ansible_timeout for account connectivity tasks
parent
9c621f5ff5
commit
7fb5fd3956
|
@ -4,6 +4,7 @@
|
||||||
ansible_shell_type: sh
|
ansible_shell_type: sh
|
||||||
ansible_connection: local
|
ansible_connection: local
|
||||||
ansible_python_interpreter: "{{ local_python_interpreter }}"
|
ansible_python_interpreter: "{{ local_python_interpreter }}"
|
||||||
|
ansible_timeout: 30
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test asset connection (pyfreerdp)
|
- name: Test asset connection (pyfreerdp)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
ansible_connection: local
|
ansible_connection: local
|
||||||
ansible_shell_type: sh
|
ansible_shell_type: sh
|
||||||
ansible_become: false
|
ansible_become: false
|
||||||
|
ansible_timeout: 30
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test asset connection (paramiko)
|
- name: Test asset connection (paramiko)
|
||||||
ssh_ping:
|
ssh_ping:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
vars:
|
vars:
|
||||||
ansible_connection: local
|
ansible_connection: local
|
||||||
ansible_shell_type: sh
|
ansible_shell_type: sh
|
||||||
|
ansible_timeout: 30
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test asset connection (telnet)
|
- name: Test asset connection (telnet)
|
||||||
telnet_ping:
|
telnet_ping:
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: "{{ local_python_interpreter }}"
|
ansible_python_interpreter: "{{ local_python_interpreter }}"
|
||||||
|
ansible_timeout: 30
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test MongoDB connection
|
- name: Test MongoDB connection
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
ca_cert: "{{ jms_asset.secret_info.ca_cert | default('') }}"
|
ca_cert: "{{ jms_asset.secret_info.ca_cert | default('') }}"
|
||||||
ssl_cert: "{{ jms_asset.secret_info.client_cert | default('') }}"
|
ssl_cert: "{{ jms_asset.secret_info.client_cert | default('') }}"
|
||||||
ssl_key: "{{ jms_asset.secret_info.client_key | default('') }}"
|
ssl_key: "{{ jms_asset.secret_info.client_key | default('') }}"
|
||||||
|
ansible_timeout: 30
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test MySQL connection
|
- name: Test MySQL connection
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: "{{ local_python_interpreter }}"
|
ansible_python_interpreter: "{{ local_python_interpreter }}"
|
||||||
|
ansible_timeout: 30
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test Oracle connection
|
- name: Test Oracle connection
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
ca_cert: "{{ jms_asset.secret_info.ca_cert | default('') }}"
|
ca_cert: "{{ jms_asset.secret_info.ca_cert | default('') }}"
|
||||||
ssl_cert: "{{ jms_asset.secret_info.client_cert | default('') }}"
|
ssl_cert: "{{ jms_asset.secret_info.client_cert | default('') }}"
|
||||||
ssl_key: "{{ jms_asset.secret_info.client_key | default('') }}"
|
ssl_key: "{{ jms_asset.secret_info.client_key | default('') }}"
|
||||||
|
ansible_timeout: 30
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test PostgreSQL connection
|
- name: Test PostgreSQL connection
|
||||||
community.postgresql.postgresql_ping:
|
community.postgresql.postgresql_ping:
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: "{{ local_python_interpreter }}"
|
ansible_python_interpreter: "{{ local_python_interpreter }}"
|
||||||
|
ansible_timeout: 30
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test SQLServer connection
|
- name: Test SQLServer connection
|
||||||
|
|
Loading…
Reference in New Issue