Skip to content

Commit 0de4bbf

Browse files
committed
add ansible_python_interpreter var to all ovirt playbooks
1 parent 1ea339e commit 0de4bbf

6 files changed

+11
-3
lines changed

olvm/ovirt_add_logical_network.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
vars_files:
1010
- default_vars.yml
1111
- oci_vars.yml
12+
vars:
13+
ansible_python_interpreter: "/usr/bin/{{ ovirt_python_version }}"
1214

1315
tasks:
1416

olvm/ovirt_add_storage_domain.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
vars_files:
4444
- default_vars.yml
4545
- oci_vars.yml
46-
46+
vars:
47+
ansible_python_interpreter: "/usr/bin/{{ ovirt_python_version }}"
48+
4749
tasks:
4850

4951
- name: Connect to the OLVM Engine application # noqa: syntax-check[unknown-module]

olvm/ovirt_check_hosts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
vars_files:
1010
- default_vars.yml
1111
- oci_vars.yml
12+
vars:
13+
ansible_python_interpreter: "/usr/bin/{{ ovirt_python_version }}"
1214

1315
tasks:
1416

olvm/ovirt_connection_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
hosts: olvm
99
vars_files:
1010
- default_vars.yml
11+
vars:
12+
ansible_python_interpreter: "/usr/bin/{{ ovirt_python_version }}"
1113

1214
tasks:
1315

olvm/ovirt_create_vm_from_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
vars_files:
1010
- default_vars.yml
1111
- oci_vars.yml
12-
1312
vars:
13+
ansible_python_interpreter: "/usr/bin/{{ ovirt_python_version }}"
1414
template_name: "OL9U5_x86_64-olvm-b259"
1515
vm_name: "test-ol9"
1616
cluster_name: Default

olvm/ovirt_import_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
hosts: olvm
99
vars_files:
1010
- default_vars.yml
11-
1211
vars:
12+
ansible_python_interpreter: "/usr/bin/{{ ovirt_python_version }}"
1313
ova_url: https://yum.oracle.com/templates/OracleLinux/OL9/u5/x86_64/OL9U5_x86_64-olvm-b259.ova
1414
ova_path: "/tmp/OL9U5_x86_64-olvm-b259.ova"
1515
olvm_engine_fqdn: olvm.pub.olv.oraclevcn.com

0 commit comments

Comments
 (0)