Skip to content

Commit

Permalink
Simplify ansible_python_interpreter
Browse files Browse the repository at this point in the history
`searchapisible_suitcase_dir` not needed for `ansible_python_interpreter`.
  • Loading branch information
williambelle committed Feb 27, 2025
1 parent 59a9a72 commit 3d2b113
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ansible/inventory/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ all:
ansible_connection: local
ansible_host: localhost
openshift_namespace: svc0012d-search-engine
ansible_python_interpreter: '{{searchapisible_suitcase_dir}}/bin/python3'
ansible_python_interpreter: '{{ ansible_playbook_python }}'
vars:
routes_availability: private
hostnames:
Expand Down
2 changes: 1 addition & 1 deletion ansible/inventory/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ all:
ansible_connection: local
ansible_host: localhost
openshift_namespace: svc0012p-search-engine
ansible_python_interpreter: '{{searchapisible_suitcase_dir}}/bin/python3'
ansible_python_interpreter: '{{ ansible_playbook_python }}'
vars:
routes_availability: public
hostnames:
Expand Down
2 changes: 1 addition & 1 deletion ansible/inventory/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ all:
ansible_connection: local
ansible_host: localhost
openshift_namespace: svc0012t-search-engine
ansible_python_interpreter: '{{searchapisible_suitcase_dir}}/bin/python3'
ansible_python_interpreter: '{{ ansible_playbook_python }}'
vars:
routes_availability: private
hostnames:
Expand Down
1 change: 0 additions & 1 deletion ansible/searchapisible
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ ensure_oc4_login () {
ensure_ansible

declare -a ansible_args
ansible_args=(-e "searchapisible_suitcase_dir=$PWD/ansible-deps-cache")
inventory_mode="dev"
cluster_url="https://api.ocpitsd0001.xaas.epfl.ch:6443"
while [ "$#" -gt 0 ]; do
Expand Down

0 comments on commit 3d2b113

Please sign in to comment.