openstack-ansible/rpc_deployment/roles/swift_proxy/tasks/main.yml
Andy McCrae d9c81a3287 Fix up the swift-proxy runs
* Fix some typoes
* Add haproxy for swift-proxy
* Add swift_vars
* Remove redundant tasks that are handled by container_common

Conflicts:
	rpc_deployment/roles/swift_common/tasks/main.yml
2014-10-17 16:29:55 +01:00

29 lines
954 B
YAML

---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: swift proxy server configuration
template: >
src="proxy-server.conf.j2"
dest="/etc/swift/proxy-server.conf"
owner={{ service_admin_username }}
mode=0644
notify: Restart proxy server
- name: Set proxy server to start at boot
cron: >
name="Restart swift proxy at boot"
special_time=reboot
job="swift-init proxy-server start"