Add section on how to install requirements and how to apply the playbook

This commit is contained in:
Magnus Andersson 2024-01-16 16:12:39 +01:00
parent e0bf44d83e
commit 07f8568619
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -11,8 +11,11 @@ The following tasks is executed by this playbook.
- Create an network port for each node and use a selection of the queried security groups. - Create an network port for each node and use a selection of the queried security groups.
- Create an instance with os volume, snap volume and port attached and a custom cloudinit config. - Create an instance with os volume, snap volume and port attached and a custom cloudinit config.
Install ansible on a host with access to the openstack api endpoints.
Run "ansible-galaxy -vv collection install openstack.cloud" to install the ansible openstack.cloud plugin.
Auth is provided to the playbook by environment variables. Auth is provided to the playbook by environment variables.
Source the rc file of app credentials for the desired openstack project. Source the rc file of app credentials for the desired openstack project.
To apply the config run "ansible-playbook main.yaml"
## Cloudinit config. ## Cloudinit config.