Force python3 install when provisioning OpenBSD
This commit is contained in:
parent
51aa0a709e
commit
f60fb7f88c
2 changed files with 9 additions and 1 deletions
|
@ -137,3 +137,10 @@
|
|||
with_items: "{{ hostkeys.stdout.splitlines() }}"
|
||||
delegate_to: localhost
|
||||
when: inventory_hostname not in result.list_vms
|
||||
|
||||
- name: install python if required
|
||||
command: "ssh {{ inventory_hostname }} '{{ virt_install_python_cmd }}'"
|
||||
delegate_to: localhost
|
||||
when:
|
||||
- inventory_hostname not in result.list_vms
|
||||
- virt_install_python_cmd is defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue