From 019bea7ce837fcb55914a4d9b078c17ac5ce7d0d Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 30 Nov 2021 15:17:28 +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: Iaf7027616c1c99121b07fb26fe9261e546d084df --- tasks/zun_compute.yml | 6 +++--- tasks/zun_post_install.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/zun_compute.yml b/tasks/zun_compute.yml index 43696a3..3517030 100644 --- a/tasks/zun_compute.yml +++ b/tasks/zun_compute.yml @@ -137,7 +137,7 @@ mode: "0755" - name: Generate kuryr config - config_template: + openstack.config_template.config_template: content: | { "live-restore": true, @@ -209,7 +209,7 @@ - zun-kuryr-dirs - name: Generate kuryr config - config_template: + openstack.config_template.config_template: src: "{{ item.src }}" dest: "{{ item.dest }}" owner: "{{ zun_kuryr_system_user_name }}" @@ -230,7 +230,7 @@ - zun-post-install - name: Generate kuryr docker plugin config - config_template: + openstack.config_template.config_template: content: | { "Name": "kuryr", diff --git a/tasks/zun_post_install.yml b/tasks/zun_post_install.yml index 95d3333..fb739be 100644 --- a/tasks/zun_post_install.yml +++ b/tasks/zun_post_install.yml @@ -31,7 +31,7 @@ - zun_services['zun-compute']['group'] in group_names - name: Generate zun config - config_template: + openstack.config_template.config_template: src: "{{ item.src }}" dest: "{{ item.dest }}" owner: "{{ zun_system_user_name }}" @@ -61,7 +61,7 @@ - zun-post-install - name: Implement policy.yaml if there are overrides configured - config_template: + openstack.config_template.config_template: content: "{{ zun_policy_overrides }}" dest: "/etc/zun/policy.yaml" config_type: yaml