Explicitly set ansible_python_interpreter in external upgrade playbook
During the run of external upgrade playbook, we connect to systems with different OS releases via delegate_to, which seems to confuse the autodetection of Python interpreter. Set it explicitly to platform-python which should work both on EL7 and EL8. Co-Authored-By: Sergii Golovatiuk <sgolovat@redhat.com> Change-Id: Ieb486f0c3e4de7229cdd2be49d4d0f038668f06d Closes-Bug: #1830713
This commit is contained in:
parent
4d6eeaee01
commit
770b578bfb
@ -816,6 +816,9 @@ outputs:
|
||||
any_errors_fatal: yes
|
||||
become: false
|
||||
vars:
|
||||
# Explicit ansible_python_interpreter to allow connecting
|
||||
# to different OS releases (EL7/8) while using delegate_to.
|
||||
ansible_python_interpreter: /usr/libexec/platform-python
|
||||
bootstrap_server_id: BOOTSTRAP_SERVER_ID
|
||||
deploy_identifier: DEPLOY_IDENTIFIER
|
||||
enable_debug: ENABLE_DEBUG
|
||||
@ -844,6 +847,9 @@ outputs:
|
||||
any_errors_fatal: yes
|
||||
become: false
|
||||
vars:
|
||||
# Explicit ansible_python_interpreter to allow connecting
|
||||
# to different OS releases (EL7/8) while using delegate_to.
|
||||
ansible_python_interpreter: /usr/libexec/platform-python
|
||||
bootstrap_server_id: BOOTSTRAP_SERVER_ID
|
||||
deploy_identifier: DEPLOY_IDENTIFIER
|
||||
enable_debug: ENABLE_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user