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
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-tests/+/819897


Change-Id: I9c4caf10192e2a25b1819d47065163ec78356a91
This commit is contained in:
Dmitriy Rabotyagov 2021-11-30 15:17:19 +02:00 committed by Dmitriy Rabotyagov
parent 91c397dc8b
commit 59e879d28a
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
when: _keystone_is_first_play_host
- name: Copy keystone configuration files
config_template:
openstack.config_template.config_template:
src: "keystone.conf.j2"
dest: "/etc/keystone/keystone.conf"
owner: "root"
@ -50,7 +50,7 @@
- Restart web server
- name: Implement policy.yaml if there are overrides configured
config_template:
openstack.config_template.config_template:
content: "{{ keystone_policy_overrides }}"
dest: "/etc/keystone/policy.yaml"
owner: "root"
@ -90,7 +90,7 @@
with_items: "{{ keystone_core_files }}"
- name: Copy common config
config_template:
openstack.config_template.config_template:
src: "{{ item.tmp_f }}"
dest: "{{ item.target_f }}"
owner: "root"

View File

@ -20,7 +20,7 @@
mode: "0711"
- name: Apply uWSGI configuration
config_template:
openstack.config_template.config_template:
src: "keystone-uwsgi.ini.j2"
dest: "/etc/uwsgi/{{ item }}.ini"
mode: "0744"