Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Add RHV as a provider #347

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

jeffcpullen
Copy link

What does this PR do?

This PR allows for the provisioning of VMs onto RHV and oVirt environments

How should this be manually tested?

Until the new casl-ansible docker image is available from quay.io (#344 ) you'll need to run this using the docker image provided in the previous PR.

docker run -u `id -u` \
 -v $HOME/.ssh/id_rsa:/opt/app-root/src/.ssh/id_rsa:Z  \
 -v <REPLACE WITH PATH TO PARENT CASL GIT DIRECTORY>:/tmp/src:Z \
 -e INVENTORY_DIR=<REPLACE WITH PATH TO PARENT CASL GIT DIRECTORY>/casl-ansible/inventory/sample.rhv.example.com.d/inventory \
 -e PLAYBOOK_FILE=<REPLACE WITH PATH TO PARENT CASL GIT DIRECTORY>/casl-ansible/playbooks/openshift/rhv/provision.yml \
 -e OVIRT_URL='https://rhvm.example.com/ovirt-engine/api/v4' \
 -e OVIRT_USERNAME='admin@internal' \
 -e OVIRT_PASSWORD='rhvm_password' \
 -e OVIRT_CA='<REPLACE WITH PATH TO PARENT CASL GIT DIRECTORY>/casl-ansible/ca.crt' \
 -e ANSIBLE_USER='cloud-user' \
 -e ANSIBLE_PASS='template_password' \
 -i redhat-cop/casl-ansible

Is there a relevant Issue open for this?

resolves #345

Other Relevant info, PRs, etc.

Blocked by #344

Who would you like to review this?

cc: @redhat-cop/casl

@garethahealy
Copy link
Contributor

looks like this needs a review, CC @redhat-cop/casl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ovirt/rhv as a provider
2 participants