Implement post openstack_hosts playbook
There are usecases, where deployer might want to have a hook after openstack_hosts are configured in terms of networks, mounts and etc, but before LXC containers are spawned. Change-Id: Iac71e4b29af1c8bfe9d350b3b117cf7de7de6451 Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
- name: Importing openstack_hosts_setup playbook
|
||||
ansible.builtin.import_playbook: openstack.osa.openstack_hosts_setup
|
||||
|
||||
- name: Importing post metal configuration playbook
|
||||
ansible.builtin.import_playbook: "{{ post_metal_configuration_hook | default('openstack.osa.hook_dummy') }}"
|
||||
|
||||
- name: Importing containers_deploy playbook
|
||||
ansible.builtin.import_playbook: openstack.osa.containers_deploy
|
||||
|
||||
|
||||
10
releasenotes/notes/post_metal_hook-745944b8121bbc64.yaml
Normal file
10
releasenotes/notes/post_metal_hook-745944b8121bbc64.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
A variable ``post_metal_configuration_hook`` is introduced, which can
|
||||
be used to define a hookable playbook which will execute right after
|
||||
configuration of metal host in perfromed inside of ``openstack_hosts``
|
||||
role.
|
||||
This might be a handy for downstream customizations to happen, as
|
||||
networkd, mounts, services and kernel modules are already configured
|
||||
at this point, but LXC containers are not yet created.
|
||||
Reference in New Issue
Block a user