-
Resursively clone the
engineering-deploy
repositorycd ~/ && git clone --recursive [email protected]:OpenNebula/one-deploy-validation.git
Note
If Makefile is used then it will create python virtual environments using hatch
(on demand).
-
Install
hatch
pip install hatch
or
pipx install hatch
or use any other method you see fit
-
Install the
opennebula.deploy
collection with dependenciesmake requirements
if you'd like to pick specific branch (instead of
master
), tag or a custom forkmake requirements ONE_DEPLOY_URL:=git+https://github.com/OpenNebula/one-deploy.git,release-1.2.1
the
one-deploy
repository checkout should be available in~/.ansible/collections/ansible_collections/opennebula/deploy/
-
(OPTIONAL) Update the
vendor/ceph-ansible
submodule (if you want to deploy Ceph clusters)cd ~/ && git submodule update --init --recursive -- ./
-
You can create new playbooks and roles as you desire and still reuse the code from
one-deploy
--- - ansible.builtin.import_playbook: opennebula.deploy.site - hosts: - "{{ frontend_group | d('frontend') }}" - "{{ node_group | d('node') }}" roles: - role: { opennebula.deploy.helper.facts, _force: true } - role: example
Note
It's exactly the same as with one-deploy
.