Merge "Use config_template as a collection"

This commit is contained in:
Zuul 2021-12-01 19:28:50 +00:00 committed by Gerrit Code Review
commit 73c39cd9d6
5 changed files with 11 additions and 11 deletions

View File

@ -14,7 +14,7 @@
# limitations under the License.
- name: Copy swift config
config_template:
openstack.config_template.config_template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "{{ swift_system_user_name }}"

View File

@ -14,7 +14,7 @@
# limitations under the License.
- name: swift proxy server configuration
config_template:
openstack.config_template.config_template:
src: "proxy-server.conf.j2"
dest: "/etc/swift/proxy-server/proxy-server.conf"
owner: "{{ swift_system_user_name }}"
@ -26,7 +26,7 @@
# If we've specified a container-sync realm use container-sync-realms.conf
- name: "Swift container-sync configuration"
config_template:
openstack.config_template.config_template:
src: "container-sync-realms.conf.j2"
dest: "/etc/swift/container-sync-realms.conf"
owner: "{{ swift_system_user_name }}"

View File

@ -14,7 +14,7 @@
# limitations under the License.
- name: "Swift account server configuration"
config_template:
openstack.config_template.config_template:
src: "account-server.conf.j2"
dest: "/etc/swift/account-server/account-server.conf"
owner: "{{ swift_system_user_name }}"
@ -26,7 +26,7 @@
# We only create the dedicated replicator configuration when using a dedicated replication_network
- name: "Swift account server replicator configuration"
config_template:
openstack.config_template.config_template:
src: "account-server-replicator.conf.j2"
dest: "/etc/swift/account-server/account-server-replicator.conf"
owner: "{{ swift_system_user_name }}"

View File

@ -14,7 +14,7 @@
# limitations under the License.
- name: "Swift container server configuration"
config_template:
openstack.config_template.config_template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "{{ swift_system_user_name }}"
@ -39,7 +39,7 @@
# If we've specified a container-sync realm use container-sync-realms.conf
- name: "Swift container-sync configuration"
config_template:
openstack.config_template.config_template:
src: "container-sync-realms.conf.j2"
dest: "/etc/swift/container-sync-realms.conf"
owner: "{{ swift_system_user_name }}"
@ -53,7 +53,7 @@
# We only create the dedicated replicator configuration when using a dedicated replication_network
- name: "Swift container server replicator configuration"
config_template:
openstack.config_template.config_template:
src: "container-server-replicator.conf.j2"
dest: "/etc/swift/container-server/container-server-replicator.conf"
owner: "{{ swift_system_user_name }}"

View File

@ -14,7 +14,7 @@
# limitations under the License.
- name: "Swift object server configuration"
config_template:
openstack.config_template.config_template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "{{ swift_system_user_name }}"
@ -35,7 +35,7 @@
# We only create the dedicated replicator configuration when using a dedicated replication_network
- name: "Swift object server replicator configuration"
config_template:
openstack.config_template.config_template:
src: "object-server-replicator.conf.j2"
dest: "/etc/swift/object-server/object-server-replicator.conf"
owner: "{{ swift_system_user_name }}"
@ -54,7 +54,7 @@
when: not swift_dedicated_replication | bool
- name: Deploy drive-audit configuration file
config_template:
openstack.config_template.config_template:
src: drive-audit.conf.j2
dest: /etc/swift/drive-audit.conf
owner: "{{ swift_system_user_name }}"