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: I374d125994239a885007081d0490e4a2c7018235
This commit is contained in:
Dmitriy Rabotyagov 2021-11-30 15:17:24 +02:00
parent ad9f7c87cb
commit f8e279cc3d

View File

@ -14,7 +14,7 @@
# limitations under the License.
- name: Copy placement configs
config_template:
openstack.config_template.config_template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "root"
@ -32,7 +32,7 @@
- Restart uwsgi services
- name: Implement policy.yaml if there are overrides configured
config_template:
openstack.config_template.config_template:
content: "{{ placement_policy_overrides }}"
dest: "/etc/placement/policy.yaml"
config_type: yaml