diff --git a/tasks/swift_post_install.yml b/tasks/swift_post_install.yml index fb136216..fb5bac90 100644 --- a/tasks/swift_post_install.yml +++ b/tasks/swift_post_install.yml @@ -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 }}" diff --git a/tasks/swift_proxy_hosts.yml b/tasks/swift_proxy_hosts.yml index b711b479..78a0789b 100644 --- a/tasks/swift_proxy_hosts.yml +++ b/tasks/swift_proxy_hosts.yml @@ -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 }}" diff --git a/tasks/swift_storage_hosts_account.yml b/tasks/swift_storage_hosts_account.yml index ddda1aba..45c8a849 100644 --- a/tasks/swift_storage_hosts_account.yml +++ b/tasks/swift_storage_hosts_account.yml @@ -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 }}" diff --git a/tasks/swift_storage_hosts_container.yml b/tasks/swift_storage_hosts_container.yml index a18a94c5..81f20fa9 100644 --- a/tasks/swift_storage_hosts_container.yml +++ b/tasks/swift_storage_hosts_container.yml @@ -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 }}" diff --git a/tasks/swift_storage_hosts_object.yml b/tasks/swift_storage_hosts_object.yml index b09eb948..7a16802c 100644 --- a/tasks/swift_storage_hosts_object.yml +++ b/tasks/swift_storage_hosts_object.yml @@ -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 }}"