diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-03-02 16:04:23 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-03-02 16:04:23 +0000 |
commit | cf909afbe23ef3aa5451c41121f30ff07f1a6ce8 (patch) | |
tree | 5309b19265e2e027eba87ec676cf156913c57f08 | |
parent | 74bd9ed4bbad5c94485e375d4dcc77eaae50acc2 (diff) | |
download | definitions-cf909afbe23ef3aa5451c41121f30ff07f1a6ce8.tar.gz |
Add openstack-swift-storage unit
-rw-r--r-- | openstack/etc/systemd/system/openstack-swift-storage.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openstack/etc/systemd/system/openstack-swift-storage.service b/openstack/etc/systemd/system/openstack-swift-storage.service new file mode 100644 index 00000000..6896c570 --- /dev/null +++ b/openstack/etc/systemd/system/openstack-swift-storage.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 -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/swift-storage.yml +Restart=no + +[Install] +WantedBy=multi-user.target |