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: If8db876955572d0fc809414bf38370a9aac84a2e
This commit is contained in:
Dmitriy Rabotyagov 2021-11-30 15:17:24 +02:00
parent e9f3c79832
commit 36d6f4f48c

View File

@ -56,7 +56,7 @@
- nova-post-install
- name: Generate nova config
config_template:
openstack.config_template.config_template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "root"
@ -82,7 +82,7 @@
- nova-post-install
- name: Implement policy.yaml if there are overrides configured
config_template:
openstack.config_template.config_template:
content: "{{ nova_policy_overrides }}"
dest: "/etc/nova/policy.yaml"
owner: "root"
@ -124,7 +124,7 @@
with_items: "{{ nova_core_files }}"
- name: Copy common config
config_template:
openstack.config_template.config_template:
src: "{{ item.tmp_f }}"
dest: "{{ item.target_f }}"
owner: "root"