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
This commit is contained in:
Dmitriy Rabotyagov 2021-11-30 15:17:28 +02:00 committed by Andrew Bonney
parent eb78628c36
commit 019bea7ce8
2 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

@ -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