diff --git a/apps/accounts/automations/change_secret/custom/ssh/main.yml b/apps/accounts/automations/change_secret/custom/ssh/main.yml index 5fe0e8b25..6595ca39e 100644 --- a/apps/accounts/automations/change_secret/custom/ssh/main.yml +++ b/apps/accounts/automations/change_secret/custom/ssh/main.yml @@ -2,6 +2,7 @@ gather_facts: no vars: ansible_connection: local + ansible_python_interpreter: "{{ local_python_interpreter }}" ansible_become: false tasks: diff --git a/apps/accounts/automations/push_account/custom/ssh/main.yml b/apps/accounts/automations/push_account/custom/ssh/main.yml index f2d67905f..a14dfd7b8 100644 --- a/apps/accounts/automations/push_account/custom/ssh/main.yml +++ b/apps/accounts/automations/push_account/custom/ssh/main.yml @@ -2,6 +2,7 @@ gather_facts: no vars: ansible_connection: local + ansible_python_interpreter: "{{ local_python_interpreter }}" ansible_become: false tasks: @@ -67,4 +68,4 @@ recv_timeout: "{{ params.recv_timeout | default(30) }}" delegate_to: localhost connection: local - when: check_conn_after_change \ No newline at end of file + when: check_conn_after_change diff --git a/apps/accounts/automations/verify_account/custom/ssh/main.yml b/apps/accounts/automations/verify_account/custom/ssh/main.yml index 831c1c783..3f36b2648 100644 --- a/apps/accounts/automations/verify_account/custom/ssh/main.yml +++ b/apps/accounts/automations/verify_account/custom/ssh/main.yml @@ -3,6 +3,7 @@ vars: ansible_connection: local ansible_shell_type: sh + ansible_python_interpreter: "{{ local_python_interpreter }}" ansible_become: false tasks: diff --git a/apps/assets/automations/ping/custom/ssh/main.yml b/apps/assets/automations/ping/custom/ssh/main.yml index f95236081..69a4fc8e7 100644 --- a/apps/assets/automations/ping/custom/ssh/main.yml +++ b/apps/assets/automations/ping/custom/ssh/main.yml @@ -3,6 +3,7 @@ vars: ansible_connection: local ansible_shell_type: sh + ansible_python_interpreter: "{{ local_python_interpreter }}" ansible_become: false ansible_timeout: 30 tasks: @@ -22,4 +23,3 @@ old_ssh_version: "{{ jms_asset.old_ssh_version | default(False) }}" gateway_args: "{{ jms_asset.ansible_ssh_common_args | default(None) }}" recv_timeout: "{{ params.recv_timeout | default(30) }}" -