Use config_template as a collection

Since we still use ceph-ansible that has their own implementation of
config_template module it's worth to use mentioned module as a collection
explicitly.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819814



Change-Id: Id31fde6375ab5ebf90e1f13b11f80d43773e4c54
This commit is contained in:
Dmitriy Rabotyagov 2021-11-30 15:17:14 +02:00
parent a10ca593d7
commit 6eb79976a4

View File

@ -23,7 +23,7 @@
group: "root"
- name: Generate cinder config
config_template:
openstack.config_template.config_template:
src: "cinder.conf.j2"
dest: "/etc/cinder/cinder.conf"
owner: "root"
@ -42,7 +42,7 @@
# TODO(cloudnull): Once "master" OSA is using a recent pull for
# cinder this task and templte can be removed.
- name: Copy cinder configs
config_template:
openstack.config_template.config_template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "root"
@ -64,7 +64,7 @@
- cinder-post-install
- name: Implement policy.yaml if there are overrides configured
config_template:
openstack.config_template.config_template:
content: "{{ cinder_policy_overrides }}"
dest: "/etc/cinder/policy.yaml"
owner: "root"
@ -105,7 +105,7 @@
run_once: true
- name: Copy common config
config_template:
openstack.config_template.config_template:
src: "{{ item.tmp_f }}"
dest: "{{ item.target_f }}"
owner: "{{ item.owner | default('root') }}"