From 6eb79976a4367a5dd650e0289c4bb16047ae485e Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 30 Nov 2021 15:17:14 +0200 Subject: [PATCH] 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 --- tasks/cinder_post_install.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/cinder_post_install.yml b/tasks/cinder_post_install.yml index 79893f62..1c72fbbd 100644 --- a/tasks/cinder_post_install.yml +++ b/tasks/cinder_post_install.yml @@ -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') }}"