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: I377c7b182861a8c53c3ab43690c2bed0d648f3ae
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
- name: Drop trove api Config(s)
|
- name: Drop trove api Config(s)
|
||||||
config_template:
|
openstack.config_template.config_template:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
owner: "{{ trove_system_user_name }}"
|
owner: "{{ trove_system_user_name }}"
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
- Restart uwsgi services
|
- Restart uwsgi services
|
||||||
|
|
||||||
- name: Implement policy.yaml if there are overrides configured
|
- name: Implement policy.yaml if there are overrides configured
|
||||||
config_template:
|
openstack.config_template.config_template:
|
||||||
content: "{{ trove_policy_overrides }}"
|
content: "{{ trove_policy_overrides }}"
|
||||||
dest: "/etc/trove/policy.yaml"
|
dest: "/etc/trove/policy.yaml"
|
||||||
owner: "{{ trove_system_user_name }}"
|
owner: "{{ trove_system_user_name }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user