Drop rootwrap.d creation

As rootwrap.d is now shipped by nova, we don't need to ensure that
directory exists explicitly.

Related-Bug: #2115295
Change-Id: If4aa8b289dc5664d36fd67991d481f49670a13f9
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
This commit is contained in:
Dmitriy Rabotyagov
2025-06-25 15:31:52 +02:00
parent 30a74c07bf
commit 4906e4d641

View File

@@ -26,20 +26,6 @@
- nova-config
- nova-post-install
# NOTE(cloudnull): This task is required to copy rootwrap filters that we need
# and nova does not provide by default.
- name: Create aux nova dir
ansible.builtin.file:
path: "{{ item.path | default(omit) }}"
state: "directory"
owner: "{{ item.owner | default(nova_system_user_name) }}"
group: "{{ item.group | default(nova_system_group_name) }}"
mode: "{{ item.mode | default(omit) }}"
with_items:
- path: "{{ nova_conf_version_dir }}/rootwrap.d"
owner: "root"
group: "root"
- name: Generate nova config
openstack.config_template.config_template:
src: "{{ item.src }}"