From e528f039d3dabb2f677ed997adb1017cf72f35a0 Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Tue, 17 Mar 2015 08:12:00 +0000 Subject: Add configuration for swift controller node This adds configuration needed to deploy a swift proxy-server that uses keystone for authentication. Change-Id: I96b11e0bf88939dc607ec4b6aa1fd16c6be8048f --- .../usr/lib/systemd/system/swift-controller-setup.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 openstack/usr/lib/systemd/system/swift-controller-setup.service (limited to 'openstack/usr/lib/systemd/system/swift-controller-setup.service') diff --git a/openstack/usr/lib/systemd/system/swift-controller-setup.service b/openstack/usr/lib/systemd/system/swift-controller-setup.service new file mode 100644 index 00000000..3e0ddaf7 --- /dev/null +++ b/openstack/usr/lib/systemd/system/swift-controller-setup.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run swift-controller-setup (once) +After=local-fs.target postgres-server.service openstack-keystone-setup.service openstack-keystone.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/swift-controller.yml +Restart=no + +[Install] +WantedBy=multi-user.target -- cgit v1.2.1