mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
copr-be/copr-hv: install libvirt-new script only on BE
This commit is contained in:
@@ -30,12 +30,23 @@
|
||||
mode: 0755
|
||||
with_items:
|
||||
- upload-qcow2-images
|
||||
- libvirt-new
|
||||
tags:
|
||||
- provision_config
|
||||
when:
|
||||
- cloud_vars is not defined
|
||||
|
||||
- name: templated provision scripts
|
||||
template:
|
||||
src: "{{ roles_path }}/copr/backend/templates/provision/{{ item }}"
|
||||
dest: "{{ provision_directory }}/{{ item }}"
|
||||
mode: 0755
|
||||
with_items:
|
||||
- libvirt-new
|
||||
tags:
|
||||
- provision_config
|
||||
when:
|
||||
- cloud_vars is defined and cloud_vars
|
||||
|
||||
- name: generate cloud-oriented vars files
|
||||
template:
|
||||
src: "{{ roles_path }}/copr/backend/templates/provision/{{ item }}"
|
||||
|
||||
Reference in New Issue
Block a user