From 1c48d3928a4134a3235e63e6ba0b25f8610d16e1 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Wed, 15 Apr 2015 12:17:16 +0000 Subject: Morph build c3874f415dc6448ca28d9a01edab0948 System branch: master --- swift/usr/lib/systemd/system/swift-storage-setup.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 swift/usr/lib/systemd/system/swift-storage-setup.service (limited to 'swift/usr/lib/systemd/system/swift-storage-setup.service') diff --git a/swift/usr/lib/systemd/system/swift-storage-setup.service b/swift/usr/lib/systemd/system/swift-storage-setup.service new file mode 100644 index 00000000..e284fbed --- /dev/null +++ b/swift/usr/lib/systemd/system/swift-storage-setup.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run openstack-swift-storage-setup (once) +After=local-fs.target postgres-server.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/ansible-playbook -v -i /usr/share/swift/hosts /usr/share/swift/swift-storage.yml +Restart=no + +[Install] +WantedBy=multi-user.target -- cgit v1.2.1