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: I276113c0a46dcb6766237189c661644b69453a7a
This commit is contained in:
parent
ada4dcf39b
commit
4d4366ed16
@ -32,7 +32,7 @@
|
||||
designate_managed_resource_tenant_id: "{{ _get_managed_resource_project.openstack_projects[0].id }}"
|
||||
|
||||
- name: Copy designate config
|
||||
config_template:
|
||||
openstack.config_template.config_template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
owner: "{{ item.owner|default(designate_system_user_name) }}"
|
||||
@ -58,7 +58,7 @@
|
||||
notify: Restart designate services
|
||||
|
||||
- name: Implement policy.yaml if there are overrides configured
|
||||
config_template:
|
||||
openstack.config_template.config_template:
|
||||
content: "{{ designate_policy_overrides }}"
|
||||
dest: "/etc/designate/policy.yaml"
|
||||
owner: "{{ designate_system_user_name }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user