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: I196d4b2e26f803afbd917af729be4183884c7eea
This commit is contained in:
Dmitriy Rabotyagov 2021-11-30 15:17:28 +02:00
parent a0cb1f7b7c
commit 00e386a1a7

View File

@ -16,7 +16,7 @@
# limitations under the License. # limitations under the License.
- name: Drop tacker Config(s) - name: Drop tacker Config(s)
config_template: openstack.config_template.config_template:
src: "{{ item.src }}" src: "{{ item.src }}"
dest: "{{ item.dest }}" dest: "{{ item.dest }}"
owner: "{{ tacker_system_user_name }}" owner: "{{ tacker_system_user_name }}"
@ -41,7 +41,7 @@
- Restart tacker services - Restart tacker services
- name: Implement policy.yaml if there are overrides configured - name: Implement policy.yaml if there are overrides configured
config_template: openstack.config_template.config_template:
content: "{{ tacker_policy_overrides }}" content: "{{ tacker_policy_overrides }}"
dest: "{{ tacker_etc_dir }}/policy.yaml" dest: "{{ tacker_etc_dir }}/policy.yaml"
owner: "{{ tacker_system_user_name }}" owner: "{{ tacker_system_user_name }}"