Skip to content

Commit 1ea339e

Browse files
committed
add var for ovirt python and limit hosts printed before pause
1 parent 06c6589 commit 1ea339e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

olvm/create_instance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@
394394
when: config_olvm
395395

396396
- name: Print instances
397-
hosts: all:!localhost
397+
hosts: engine:kvm
398398
become: true
399399
gather_facts: false
400400

olvm/default_vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ engine_fqdn: olvm.pub.olv.oraclevcn.com
3737
engine_url: https://{{ engine_fqdn }}/ovirt-engine/api
3838
engine_user: admin@ovirt@internalsso
3939
engine_pass: How-2-install
40+
ovirt_python_version: python3.12
4041
# engine_cafile: /tmp/pki-resource
4142
use_secondary_hostfile: false
4243
use_vnc_on_engine: false

olvm/ovirt_add_hosts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
vars_files:
1010
- default_vars.yml
1111
- oci_vars.yml
12-
12+
vars:
13+
ansible_python_interpreter: "/usr/bin/{{ ovirt_python_version }}"
14+
1315
tasks:
1416

1517
- name: Download ca-cert

0 commit comments

Comments
 (0)